Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bug
#3
ok ill try getting some info :D

there is a supposed "unexpected error"
before the if statement - ill send a bit of code with it


        try:
            num1 = int(input("what is the first number"))
            num2 = int(input("what is the second number"))
            operation = input("what is the sign")
            validinput = True
            
        


    if (operation == "+"):    #supposedly it is infront of the "if"
        print("adding")
        print(add(num1, num2))
Reply


Messages In This Thread
bug - by ScriptingNub - Sep-19-2018, 06:32 PM
RE: bug - by Larz60+ - Sep-19-2018, 06:37 PM
RE: bug - by ScriptingNub - Sep-19-2018, 06:38 PM

Forum Jump:

User Panel Messages

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