0
Hey guys! This is my first program in Python!! Probably I'm a beginner. Can someone tell me where I've went wrong?
5 Antworten
+ 3
Siddiqa Tabassum K
Just suppose,
1)I find the correct answer to the first question, and but not the second question, what does it show?
Nothing, actually. That's why I put the second "else" statement.
2) it is good to add "print(result)" statement after each input.
Then the input is shown in the output.
P.S Your code is good, but these tips make more sense.
+ 6
I dont see anything wrong in the program.
.
+ 5
Your code is woRkiNg as you told that u are beginner after a weeks or months u will be expert so do practice more and more . you can make your code much more efficient.
+ 3
Yeah Thank you I too do know Akbar . But can you tell me where I've went wrong?
+ 2
As Siddiqa Tabassum Kb wrote: a part of second question do not have way for react on "wrong" answer. The "else" u use - is from first "if" that mesn if first answer is correct - "else" no more happening. Place another "else" for second "if"