SHARE
TWEET

Untitled

a guest Nov 18th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import random
  2. min_lista=[]
  3.  
  4. try:
  5.     def random_numbers():
  6.        
  7.         for i in range(4):
  8.             ran_num = random.randint(1,50)
  9.             min_lista.append(ran_num)
  10.             print(ran_num)
  11.  
  12.             if ran_num >= 25:
  13.                 print(ran_num)
  14.            
  15.             elif ran_num < 25:
  16.                 pass
  17.  
  18.             else:
  19.                 print("Invalid mothafakka")
  20.            
  21. except:
  22.     print("catching das errors")
  23.    
  24. random_numbers()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top