hi
i've got a question about goto's i just started to use python and i've only used basic before this
i know in basic you can reuse commands by useing branch labels like this
[hi]
print "hello"
input ">"; h
if h = 3 then goto [hi]
if h <> 3 then goto [bye]
[bye]
print "you guessed wrong"
goto [hi]
like that is there any way to do that in python
i've got a question about goto's i just started to use python and i've only used basic before this
i know in basic you can reuse commands by useing branch labels like this
[hi]
print "hello"
input ">"; h
if h = 3 then goto [hi]
if h <> 3 then goto [bye]
[bye]
print "you guessed wrong"
goto [hi]
like that is there any way to do that in python