Apparently, the following line is not valid Python syntax.
while (!is_int(1)):
How do I fix it?
Note: I don't know Python.
Apparently, the following line is not valid Python syntax.
while (!is_int(1)):
How do I fix it?
Note: I don't know Python.
Boolean NOT is written
not
in Python:(Assuming you've implemented a function
is_int
.)