Posts

Showing posts from December, 2023

LEARNING DATA SCIENCE , WEEK 2

 PYTHON KEYWORDS Python keywords are special reserved words that have specific meanings and purposes and can not be used for anything but those specific purposes. Note: There is a function in python ,when you execute that it will show the list of python keywords. FUNCTION - help('keywords') PYTHON IDENTIFIERS Variable - Anything which holds certain value. The identifier is used to identify an entirely unique in a program at the time of execution. Example - name = 'ANSHULA' name is representing unique identity ANSHULA . There are few rules to define identifiers. 1. Use only alphabets , numbers or underscore. 2. Use of Special characters and keywords is not allowed. 3. Starting characters should be either underscore or alphabets , numbers are not allowed. COMMENT IN PYTHON  Comment is additonal information about the code you have written so that other developer can understand that code, in case he wants to reprogram that code. # - Using this means you are writting a comme...

LEARNING DATA SCIENCE , WEEK 1

  INTRODUCTION TO PROGRAMMING   -WHAT IS PROGRAMMING? There should be a common language so that both human and computer can understand. Programming language is a way to communicate with computer ,humans understands programming and write a code, then computer execute it to follow instructions. PROCEDURAL PROGRAMMING This programming was introduced in 1980s. It is a form of programming in which problem solving involves breaking down the task into sequential steps , with a boolean decision made at each step. Example - C language. To address real life issues it is essential to convert real entities in world of programming. OBJECT - it represents real entities , the object has it's own state and behaviour. RELATIONSHIP - object oriented principles (OOP) represents relationships. PYTHON CONTAINS - 1. Procedural  2. OOP 3. Functional  This is the reason python holds a distinctive positions for mastering data science.