everyone who replies to this thread gets a hand drawn crayon drawing

Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
everyone who replies to this thread gets a hand drawn crayon drawing
#18
RE: everyone who replies to this thread gets a hand drawn crayon drawing
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


Messages In This Thread
RE: everyone who replies to this thread gets a hand drawn crayon drawing - by Loather - 08-23-2016, 10:26 PM