Question: Problem Set 1 : Purpose of this assignment is to establish and familiarize myself with the Python working environment. September 0 9

"""
Problem Set 1: Purpose of this assignment is to establish and familiarize myself with the Python working environment.
September 09,2024
Arvind Satish
"""
usersname = input("What is your name? ")
knows_python = input("Do you know Python? (yes/no): ").lower()
print(f"Thank you for participating, {usersname}!")
if knows_python == "yes":
print(f"Please name every python, {usersname}")
elif knows_python =="no":
print(f"We will learn together, {usersname}.")
else:
print("Please enter 'yes' or 'no' for the answer. I don't want to write an if-else statement for every possible response!")
I get a syntax error when I try to run the above could someone fix and point out what I have done wrong.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!