Skip to content

Commit 0e3a240

Browse files
pythonLesson
0 parents  commit 0e3a240

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

lesson3.py

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# variable
2+
x = 2
3+
y = 3.3
4+
z = "green"
5+
6+
x = y = z = 20
7+
print("x",x)
8+
print("y",y)
9+
print("z",z)
10+
x = 5
11+
y = 15
12+
13+
print("x",x)
14+
print("y",y)
15+
16+
# identifier
17+
18+
# def function ():
19+
20+
# class pyae:
21+
22+
# letters digits underscores
23+
24+
pyae = 27
25+
p1 = 27
26+
p1_p2 = 27
27+
_p3 = 27
28+
29+
# Python Datatypes
30+
31+
# numbers
32+
# integer/float/complex
33+
34+
35+
# strings
36+
# List
37+
# Tuple
38+
# dictionary
39+
40+

0 commit comments

Comments
 (0)