Advertisement
here2share

# b_min_max.py

Dec 19th, 2021
1,002
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. # b_min_max.py
  2.  
  3. import random
  4.  
  5. while 1:
  6.     z = random.randint(-100,100)
  7.     print min(50,max(-50,z))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement