Python Forum
Using "goto" to jump to lines ?!
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using "goto" to jump to lines ?!
#2
"return" is not a "goto".

text = input("taper code pour coder et dec pour décrypter")
if text=="code" 
     # Whatever is needed to encode
else:
     # Whatever is needed to decode
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply


Messages In This Thread
Using "goto" to jump to lines ?! - by LOLO - Jan-27-2017, 05:22 PM
RE: Using "goto" to jump to lines ?! - by Kebap - Jan-28-2017, 07:17 PM
RE: Using "goto" to jump to lines ?! - by LOLO - Jan-28-2017, 07:30 PM
RE: Using "goto" to jump to lines ?! - by Ofnuts - Jan-28-2017, 09:52 PM
RE: Just a little problem - by Ofnuts - Jan-27-2017, 06:19 PM
RE: Just a little problem - by LOLO - Jan-28-2017, 10:04 AM
A BIG PROBLEM PLEASE ANSWER - by LOLO - Jan-28-2017, 06:45 PM

Forum Jump:

User Panel Messages

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