-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariable.py
More file actions
34 lines (24 loc) · 723 Bytes
/
variable.py
File metadata and controls
34 lines (24 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name = 'Hassan'
print(name)
vegetables = 'potato' , 'onion' , 'pea'
print(vegetables)
numbers = 1 , 3 , 5 , 8 , 9 , 2
print(numbers)
even_number = 2 , 4 , 6 , 8 , 10
print(even_number)
odd_number = 1 , 3 , 5 , 7 , 9
print(odd_number)
# father name = 'Ashraf'
# print(father name) don't use space
# 2name = 'hassan'
# print(2name) don't start with integer
# first$last_name = 'Hassan Ashraf'
# print(first$last_name) don't use special character
# print = 'hassan'
# print(print) don't use keyword
# break = 'hassan'
# print(break)
# class = 'Hassan'
# print(class)
# meaningful variable example : number = 1 , 2 , 3 , 4 etc(it's for our help)
# variable name start with small letter(it's a sign of good developers)