Advertisement
Mori007

RollingDices

May 5th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. from random import randint
  2.  
  3. def rolldice(n):
  4.  
  5. for x in range(n):
  6. dice1 = randint(0,6)
  7. dice2 = randint(0,6)
  8. dices = print(dice1,dice2)
  9.  
  10. return dices,n
  11.  
  12.  
  13. n = int(input("How many you are roll :"))
  14. print("You rolling dice :"+ str(n))
  15. rolldice(n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement