Share your repls and programming experiences

← Back to all posts
Helppp! My code isnt working!
XxBlueShimmerxX (0)

My code for my truth or dare game isnt working. Please help!

FloCal35 (667)

Well 1st, this is supposed to be in the ask section. Second, you have no quotaion marks. Third, your if statements are set up wrong.

td=input("choose truth or dare- ")
if td=="truth"
  color=input("what is your favorite color)
  print("Your favorite color is",color)
  print("Steal your sisters things, otherwise your friends")

Please revisit python or learn it if you haven't already