08-06-2010, 01:06 AM
This was in python 2.6, just testing inputs and stuff
edit it if you want, no reason to :p
good for first?
I am going to make apps now, beginnerones
edit it if you want, no reason to :p
Code:
print 'Welcome to your interview :)'
print 'You will be answered a series of questions through this examine.'
first = raw_input("\nPlease enter your gender: ")
if first == "male":
print "\nme too!"
if first == "female":
print "\nthat's what she said :p"
second = int(raw_input("\nPlease enter the number of pets you own: "))
if second < 5:
print "\nYou aren't crazy! :p"
if second > 5:
print "\nYou are borderline crazy, or crazy. :P"
print "\nYou said you are a: "+first
print "\nYou said you have: "+str(second)+" pets"
import os
os.system("PAUSE")
good for first?
I am going to make apps now, beginnerones