All pastes #613728 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-07-11 04:22 UTC
rendered paste body
#Jeep game!

name = raw_input("What's your name? ")
print "\nHey " + name
print " this game tells you what Jeep is best for you!"

      
#Jeep variables
wrangler = 0
liberty = 0
j20 = 0
gc = 0

#variables
money = int(raw_input("\nHow much money could you spend? $"))
color = raw_input("What's your favorite color? ")

print "\nPress 1 for yes and 0 for no."
store = int(raw_input("Do you like 711? "))
fish = int(raw_input("Do you go fishing?"))
tools = int(raw_input("Do you own a wrench?"))


if store == 1
    wrangler += 1
    j20 += 1
if fish == 1
    wrangler += 1
    gc += 1
if tools == 1
    j20 += 1
    liberty += 1
if money >= 100 and money < 13000
    j20 += 1
if money >= 13000 and money < 18000
    liberty += 1
if money >= 18000 and money < 21000
    wrangler += 1
if money >= 21000
    gc += 1
if wrangler > liberty and wrangler > j20 and wrangler > gc
    print "\nYou get a Wrangler Jeep!"
if liberty > wrangler and liberty > j20 and liberty > gc
    print "\nYou get a Liberty Jeep!"
if j20 > wrangler and j20 > liberty and j20 > gc
    print "\nYou get a J20 Jeep!"
if gc > wrangler and gc > liberty and gc > j20
    print "\nYou get a Grand Cherrokee!"
raw_input("\n\nPress enter to quit.")