Python Forum
problems with the If statement or is it the variables being used
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problems with the If statement or is it the variables being used
#2
raw_input returns values as a string so you need to change the string to a number.
target = int(target)
Reply


Messages In This Thread
RE: problems with the If statement or is it the variables being used - by Yoriz - Mar-22-2019, 06:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question 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

Forum Jump:

User Panel Messages

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