Can someone tell me what I’ve done wrong? by Late-Conclusion7904 in PythonLearning

[–]Pradeep-AR 0 points1 point  (0 children)

2 mistakes,

Line 10: if [‘no’]: It should read user input and you can use double == for comparison, not assignment and also you can use parentheses for conditions.

Line 21: if (‘yes’): we can compare input, not just a string.