Is there a way to skip to target line in Python?
Go to solution
Solved by SCHISCHKA,
4 minutes ago, Nfan said:It is not clear what are You trying yo avhieve, buy maybe like this :
if a != 1:
code to skip
he's trying to do something like a goto command. These are not available in python and you need to put the code in a function.
-
Featured Topics
-
Topics
-
3
-
TriTech ·
Posted in Troubleshooting0 -
testcy ·
Posted in Power Supplies4 -
1
-
0
-
0
-
xDumpyy ·
Posted in Troubleshooting2 -
2
-
Gerowen ·
Posted in Networking2 -
aren332 ·
Posted in New Builds and Planning3
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now