Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Question
#3
The first code results in a valueError. This is because when we enter the input as solution -6, we are trying to find of negative number, which isn't possible. The second code results in nameError. So not undefined.


Messages In This Thread
Python Question - by Smhbugra - May-27-2019, 06:04 PM
RE: Python Question - by buran - May-27-2019, 06:18 PM
RE: Python Question - by calvinpdaw - May-27-2019, 06:19 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020