-
Notifications
You must be signed in to change notification settings - Fork 618
One little obstacle #8
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
Comments
The code you have here seems to be the broken code from my tutorial. Can you show your mostly-fixed version of the code? By the way, if you put the code between backticks, like this...
...it'll show up correctly and I can actually see how you have indented it. |
If your code is exactly how you copy/pasted it out to be, then it's incorrect. Notice in the last print statement, your first comma goes before the end quote, where instead it should be after. print("I don't know what," something, "means.") |
Thanks guys, i think i've resolved it. haha. |
Nice |
Hello Akuli
I am doing the exercise for if else/elif
print('Hello!')
something = input("Enter something: ")
if something = 'hello':
print("Hello for you too!")
elif something = 'hi'
print('Hi there!')
else:
print("I don't know what," something, "means.")
I ve fixed the errors in the block, but having trouble to fix the last else-print-clause, when i run it, no results, and no error message, it stuck. Please help.
btw, wonderful tutorial.
Thanks much
Tony
The text was updated successfully, but these errors were encountered: