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.
Python Question
Python Question
|
|
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
|
Users browsing this thread: 1 Guest(s)