Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- def main():
- print("Enter number of sides variable:")
- x = input()
- x = int(x)
- r = random.randint(1, x)
- print(r)
- def roll(r):
- r = random.randint(1, x)
- return(r)
- def getint(x):
- x = input()
- x = int(x)
- return(x)
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement