Advertisement
Guest User

Numero casuale

a guest
Mar 2nd, 2020
2,105
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import random
  2. num = int(input("Inserisci max numero casuale "))
  3. print("Il numero generato è ", random.randint(0,num+1))
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement