subject

UserInp = input("Did you like the story?") if(userInp == "yes" or "Yes" or "yes." or "Yes." or "yes!" or "Yes!" or "yeah" or "Yeah" or "yeah." or "Yeah." or "yeah!" or "Yeah!")

print("Thanks, I'm Glad you liked it!")

if(userInp == "no" or "No" or "no." or "No." or "no!" or "No!" or "nope" or "Nope" or "nope." or "Nope." or "nope!" or "Nope!")

print("Oh, I'm sorry you didn't like it.")

WHAT IS THE ERROR ON LINE 3 (2) I CANT FIGURE OUT WHY THERE IS AN INDENTATION ERROR?!?!?!

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:00, ozzy55
Create a word problem that involves calculating the volume and surface area of a three-dimensional object. cube: surface area 6 s2 , volume s3
Answers: 3
image
Computers and Technology, 22.06.2019 11:30, melissalopez12
Write a function so that the main program below can be replaced by the simpler code that calls function original main program: miles_per_hour = float( minutes_traveled = float( hours_traveled = minutes_traveled / 60.0 miles_traveled = hours_traveled * miles_per_hour print('miles: %f' % miles_traveled) sample output with inputs: 70.0 100.0 miles: 116.666667
Answers: 3
image
Computers and Technology, 22.06.2019 15:00, gmc2771
Hyperactive media sales has 10 windows 7 laptop computers used by sales-people in the organization. each laptop computer has several customized applications that are used during the sales process as well as customer relationship management software. all of the applications on the laptops are difficult to configure and have large data files. if all of the laptops have current hardware, what is the easiest way to install windows 10 on them?
Answers: 1
image
Computers and Technology, 23.06.2019 18:00, larry5007
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
You know the right answer?
UserInp = input("Did you like the story?") if(userInp == "yes" or "Yes" or "yes." or "Yes." or "yes...

Questions in other subjects: