Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def res1():
- res = 0
- a = 20
- while(res == 0):
- if(a % 2 == 0 and a % 3 == 0 and a % 4 == 0 and a % 5 == 0 and a % 6 == 0 and a % 7 == 0 and a % 8 == 0 and a % 9 == 0 and a % 10 == 0 and a % 11 == 0 and a % 12 == 0 and a % 13 == 0 and a % 14 == 0 and a % 15 == 0 and a % 16 == 0 and a % 17 == 0 and a % 18 == 0 and a % 19 == 0 and a % 20 == 0):
- res = a
- a+= 1
- return res
- k = res1()
- print(k)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement