Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://tmc.mooc.fi/paste/2mn6kWgmRyETEw90n_24TA Soup or no soup #6

Open
bjmcgill opened this issue Jan 27, 2025 · 1 comment
Open

Comments

@bjmcgill
Copy link

In soup nor no soup I entered the following code

Write your solution here

name=input("Please tell me your name: ")
if name!="Jerry":
portions=int(input("How many portions of soup? "))
print(f"The total cost is {portions*5.90}")
print("Next Please!")

I believe this is the right answer, but it was not accepted

@bjmcgill
Copy link
Author

The formatting I used for my answer is different from the code above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant