Skip to content

Instantly share code, notes, and snippets.

View nipunagwdev-maker's full-sized avatar
🎯
Focusing

Nipuna Madhuranga nipunagwdev-maker

🎯
Focusing
View GitHub Profile
import random
while True:
user_input = input("Roll the dice(y/n) : ").lower() #Make the input to lowercase
if user_input == 'y':
a = random.randint(1,6)
b = random.randint(1,6)