Advertisement
ARDUINSHIK

Случайное число

Jun 13th, 2020
2,662
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import random
  2.  
  3. a = int(input("От: "))
  4. b = int(input("До: "))
  5.  
  6. rand = random.randint(a, b)
  7.  
  8. print(rand)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement