question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug : Python for Everybody Challenge - Conditional Execution

See original GitHub issue

Describe 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):

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
moT01commented, Jan 5, 2021

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.

0reactions
Gimhan-minioncommented, Jan 7, 2021

Okay guys understood. Thank you all for responding. I’ll close this issue. 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found