Mar-22-2019, 06:28 AM
raw_input returns values as a string so you need to change the string to a number.
target = int(target)
problems with the If statement or is it the variables being used
|
|
Messages In This Thread |
problems with the If statement or is it the variables being used - by NickIgoe - Mar-22-2019, 05:39 AM
RE: problems with the If statement or is it the variables being used - by Yoriz - Mar-22-2019, 06:28 AM
RE: problems with the If statement or is it the variables being used - by NickIgoe - Mar-22-2019, 06:34 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
![]() |
Problems with variables in multithreading | Wombaz | 2 | 1,423 |
Mar-08-2022, 03:32 PM Last Post: Wombaz |
Problems with if / else statement | droid206 | 6 | 2,916 |
Apr-19-2020, 08:06 AM Last Post: astral_travel |
|
Quotes and variables in print statement | Mark17 | 4 | 3,184 |
Sep-13-2019, 04:07 PM Last Post: Mark17 |
|
Having problems using 'or' in a 'if' statement? | umut3806 | 2 | 2,196 |
Jul-21-2019, 11:33 PM Last Post: umut3806 |