MagnoliaNinja
New Coder
I was doing an assignment in my online coding class, and I'm not sure why it won't work, If you can fix this please help!
Line 27 is the error
Line 27 is the error
Python:
import random
print("What is your first name?")
name1 = input("")
print("What shoes do you like?")
shoes1 = input("")
if shoes1 == (("converse") or ("Converse")):
print("Nice, casual is always in!")
elif shoes1 == (("dudes") or ("Dudes")):
print("Eh, they're nice but I wouldn't wear them in public.")
print("How old are you?")
age1 = int(input())
if age1 <= int(16):
print("I hate you")
elif age1 >= int(17):
print(str(age1) + (" is a good age to start exploring style."))
print("I think I know your style")
print("So, " + (name1) + ", what is your favorite top?")
top1 = input("")
if top1 == (("tshirt") or ("T-Shirt")):
print("T-Shirts are fine, but nothing special")
elif top1 == (("Tshirt") or ("t-shirt")):
print("T-Shirts are fine, but nothing special")
elif top1 == (("cum") or ("Cum") or ("CUM")):
print("yeah, really funny a**hole")
print("What about your choice of bottom?")
bottom1 = input("")
Cargoresponse = random.randint[("How many kids?"), ("How old are you again?"), ("How's the wife?")]
if bottom1 == ("Cargo pants") or ("Cargo shorts") or ("Cargo Pants") or ("Cargo Shorts") or ("cargo pants") or ("cargo shorts"):
print("How many kids?")
Last edited by a moderator: