Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def random():
- a = 500
- b = 100
- c = 100
- d = 5000
- total1 = 0
- total2 = 0
- while b > 0:
- total1 += a
- b -= 1
- total2 += c
- d -= 1
- if b == 1:
- break
- print(total1)
- print(total2)
- random()
Advertisement
Add Comment
Please, Sign In to add comment