-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathday2flow.py
More file actions
60 lines (44 loc) · 711 Bytes
/
day2flow.py
File metadata and controls
60 lines (44 loc) · 711 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#if statements
#x = 5, y = 11
x,y = 5,11
# if(x == y)
# {
# //sadfasdf
# }
# else
# {
# }
# Relational
# ==,!=,<,<=,>,>=
# Logical
# and
# or
# ! Not
if(x!=y and (x < 3 or y == 11)):
print('TRUE')
else:
print('FALSE')
# if(x == y):
# pass
# # print('TRUE')
# # print('Something else to do')
# elif(x >= 10):
# print("wow")
# elif(y <= 100):
# print("Meh!")
# else:
# print('FALSE')
# print('Nothing to do')
print("The end")
print("-" *50)
counter = 0
while(counter < 5):
print("Moi")
counter += 1
if(counter == 3):
break #continue
print("Hei hei")
print("-" * 50)
numbers = [10,20,30,40,50]
for number in numbers:
print(number)