-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathif_foor.py
More file actions
64 lines (36 loc) · 892 Bytes
/
Copy pathif_foor.py
File metadata and controls
64 lines (36 loc) · 892 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
61
62
63
64
#
# x = input('Enter a x: ')
# x = float(x)
#
# y = input('Enter a y: ')
# y = float(y)
#
# # if (x>0 and y>0) or (x<0 and y<0):
# # print('x*y is positive!!')
# # elif (x<0 and y>0) or (x>0 and y<0):
# # print('x*y is negative!!')
#
# if x>0:
# if y>0:
# print('x and y are positive!')
# elif y<0:
# print('x is positive and y is negative!')
#
#
#
#
# for i in range(3):
#
# for j in range(3):
# print('i = %i and j = %i' %(i,j))
# ages = [20,22,26]
# names = ['arham', 'niloufar', 'raha']
# for name, age in zip(names, ages):
# print('your name is %s and you are %i years old' %(name, age))
# round_list = [round(i) for i in [2.3, 4.5, 9.6, 3.6] if i>4]
# print(round_list)
for i in range(10):
print(i)
if i==5:
continue
print(i)