DAY 24: 100Days of Python

print(" WELCOME TO THE DICE GAME, LET'S ROLL!!!!!")
import random
sides = int (input("How Many sides?:  "))
play = "yes"
def main (roll):
  print("You rolled", random.randint(1,sides))
while play == "yes":
    main(sides)
    play = input("Roll Again? ")