0
Error when using else with elif
Using elif and else. I used elif through out and at the end used else but it throws an error. Help pls
15 odpowiedzi
+ 1
I figured it out. I was just using it incorrectly. Thanks
+ 1
Just testing. Im not even sure if what Im doing is correct
0
Try this one
0
Working now. My internet is choppy right now
0
Sorry, been using this for just the past 5hrs. Its public now
0
That code must look like a grade school code! Lol! No coding experience. Just started last week
0
Thanks!
- 1
Can we have a link to the code? Maybe the error is not in the use of elif and else.
Read the error it may help you discover the problem.
- 1
I'm not able to access you code. Did you save it as public?
- 1
Same thing. Your profile shows no code also.
- 1
You have to turn your code 'public' switch on so that others can see it.
- 1
ok now I see it.
- 1
Good starting! Really!
Just one question, why did you pass the variable 'temp' to input()?
Any special reason? Or just testing?
- 1
Well, right or wrong depends in what you are trying to do.
For testing propose that looks right to me.
Keep going. You chose a good language to star with. : )