PYTHON
Python is a most popular programming language. It is known as interpreted language. It was designed by 'Guido van Rossum' in 1991. It use to build website developing, gaming ... Etc
What can do after learning python
• Web development
• Gaming development
• Software development
• Machine learning
• Artificial intelligence (A.I)
• Image processing
How To Python Works?
Interpreted ; = python, js....
Compiler ; = java, c+, c++,...
Python opening in windows for check.
Start menu < Command prompt < type python --version
Python running
Download to browser "VISUAL STUDIO CODE" < Extension section < search python & install
PYTHON KEYWORDS
For, False, Form, Finally, assert, while, except, nonlocal, pass, none, else, and, return, import, await, class, try, as, lambda, continue, del, break, global, with, def, async, if, elif, or, yield, not, in, raise, true, is.
DATA TYPES IN PYTHON
Int (Integer) i.e -6, 0, 8, -10 ...
Float(Decimal) i.e -9.0, 99.99, 0.00 ...
Str (String) i.e "apple", 'apple', '500' ...
bool (Boolean) i.e True & False
list (Array) i.e [ ], [1, 2,3,4,5], [5.0, 66, " A"]
dict (Dictionary) i.e { : }
tup (Tuple) i.e (1, 2,3), ('apple',5, 3.33)
Set(sets) i.e {1, 2,3} unique elements
•union
•intersection
•symmetric
•difference
Example
a = 5
Print(type(a))
Output <class'int'>
Print(5+3)
Output 8
Thanks and love you all.
Next chapter soon

Superr
ReplyDelete