This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#--------------------------------- | |
# Random Resource Web © | |
# Randomresourceweb.blogspot.com | |
#--------------------------------- | |
from tkinter import * | |
import random | |
root = Tk() | |
root.title("rock paper scissors") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#----------------------------------- | |
# Random Resource Web © | |
# Randomresourceweb.blogspot.com | |
#----------------------------------- | |
import random | |
def randnumber(): | |
global number | |
number = random.randrange(1,101) |