Bug : Python for Everybody Challenge - Conditional Execution
See original GitHub issueDescribe your problem and how to reproduce it: Problem
- All 4 answers in the below-mentioned python challenge is incorrect.
Reproduce
-At least one of the answers should be replaced with if 0==x:
to if x==0:
Add a Link to the page with the problem: https://www.freecodecamp.org/learn/scientific-computing-with-python/python-for-everybody/conditional-execution
Tell us about your browser and operating system:
- Browser Name: Google Chrome
- Browser Version: Version 86.0.4240.198 (Official Build) (64-bit)
- Operating System: Ubuntu 20.04
If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Conditional execution - PY4E - Python for Everybody
Python starts by executing the sequence of statements in the try block. If all goes well, it skips the except block and proceeds....
Read more >"Python for Everybody" Chapter 3 - YouTube
" Python for Everybody " Chapter 3 - Conditional execution (Solved Exercises).
Read more >Python: Code Challenges (Optional) Cheatsheet - Codecademy
In Python, relational operators compare two values or expressions. The most common ones are: < less than; > greater than; <= less than...
Read more >2.5 Conditionals - Robolink Basecamp
Explain the order that a conditional uses to evaluate its statements; Describe how Python uses indentation to identify parts of a program; Create...
Read more >Python if else, for loop, and range() Exercises with Solutions
Control flow statements: Use the if-else statements in Python for conditional decision-making; for loop: To iterate over a sequence of elements ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I suppose that
x == 0
is probably more conventional. But I don’t think this is an issue that needs fixing. We can see if anyone else wants to weigh in.Okay guys understood. Thank you all for responding. I’ll close this issue. 😃