Python 3x fundamentals 1

Python: Python is a general-purpose high-level programming language.  Here high level means it is user friendly or programmer-friendly langu...

Python:


Python is a general-purpose high-level programming language. 
Here high level means it is user friendly or programmer-friendly language, not a machine friendly. This means the Programmer does not need any coding language.
NOTE: Father of python is GUIDO VAN ROSSUM. He developed the python language in 1989 and made it public to available in 1991.

Why Name Python: He was a fan of a comedy show " The complete Monty python's circle ." so he took name Python.

Python is All-Rounder: what does it mean? 

C language is a functional language 
C++, JAVA is an object-oriented programming language 
Perrl, Shell script is a scripting language.
 But python supports all languages, all right Now we will see from who python borrowed which language,
  • Functional language from C 
  • OOPS from C++ ( JAVA developed in 1995)
  • script language from perrl 
  • Modular PL from Modula-3.
Most of the syntax borrowed from C and ABC language.

Uses Of python:

  1. Desktop Applications; ex. calculator development 
  2. Web applications: ex- G-mail, E-commerce ( zomoto is developed on python)
  3. Network Applications; like chatting applications 
  4. Games 
  5. Data Science, Machine Learning 
  6. ML, AI, IoT, Neural networks etc.

Users of Python:

  1. Google( youtube)
  2. yahoo
  3. Netflix
  4. NASA etc

Features of Python;

  1. Easy to use: It means No pre-knowledge required to learn python 
  2. Freeware and open-source: Freeware means it is available free of cost. Open source means there anyone can use it with their name.
  3. High-Level PL: means it is programmer-friendly, not machine friendly, that means do not require many codes.
  4. Platform Independent: It means we can run the same programme on Windows, Linux or mac 
  5. Portability: one programme can be migrated from one platform to another.
  6. Dynamically typed 
  7. Both procedure-oriented and object-oriented 
  8. Interpreted 
  9. Extensible: we can programme in C or C++ or JAVA 
  10. Embedded: This means we can use python programmes in other languages.
  11. Extensive Libraries  

Limitations of python:

1. mobile applications development: python is not suitable for mobile applications developments because the library is not available
2. Extensive applications: for example Banking applications, Telecom applications etc.,
3. Performance is poor: ' Just in time' and python virtual machine is used as a flavour for speed.

Python Identifiers :

Identifiers are just named for example class, variables etc.

Rules for identifiers :

1. only words are allowed, special character are not allowed  for example:
               cash=20 allowed 
                cas&h= 20 not allowed 
2. Identifiers should not start with a digit 
         ex;  345total= 20 , not allowed
                total345= 20, allowed 
3. No length limit but not recommended too length; ex  aaaaaaaaasssssssssssssjjjjjjjjjjjjjjjjkkkkkkkkkkkkk=20 allowed but not recommended 
4 We can not use keywords as identifiers: There are 33 reserved words

Reserved words or keywords: 

The words which are reserved to represent some functionality is called...
There is 33 reserved word :
  1. True
  2. False 
  3. None 
  4. and
  5. or
  6. not
  7. is
  8. If 
  9. elif
  10. else
  11. while
  12. for 
  13. break
  14. continue
  15. in
  16. yield
  17. try
  18. except
  19. finally
  20. raise 
  21. assert
  22. Import 
  23. from 
  24. as
  25. class
  26. def
  27. pass
  28. global
  29. nonlocal
  30. lemda
  31. del
  32. with 
Thank You for reading this article. Please subscribe and comment. only this will be my fees.







COMMENTS

BLOGGER: 1
If you have any doubt please let me know.

Name

ltr
item
Data science course: Python 3x fundamentals 1
Python 3x fundamentals 1
Data science course
https://datasciencebook.blogspot.com/2020/05/python-3x-fundamentals-1.html
https://datasciencebook.blogspot.com/
https://datasciencebook.blogspot.com/
https://datasciencebook.blogspot.com/2020/05/python-3x-fundamentals-1.html
true
17380152843648359
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy