RE: everyone who replies to this thread gets a hand drawn crayon drawing
08-23-2016, 10:26 PM
Code:
import os
going = True
print "Hello!"
print
while(going):
print "Enter ONE to enter the first screen."
print "Enter TWO to enter the second screen."
print "Enter THREE to end program."
print
getScreen = raw_input()
if getScreen == "ONE":
os.system('cls' if os.name == 'nt' else 'clear')
print "Welcome to screen ONE!"
print
elif getScreen == "TWO":
os.system('cls' if os.name == 'nt' else 'clear')
print "Welcome to screen TWO!"
print
elif getScreen == "THREE":
going = False
else:
os.system('cls' if os.name == 'nt' else 'clear')
print "Welcome to the WRONG INPUT screen!"
print