Guest User

Untitled

a guest
Jun 18th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. # Demonstrating the horrendously evil 'comefrom' control statement, roughly
  2. # the opposite of 'goto' in that it transfers control at /remote/ destination
  3. # to the local call site.
  4. å
  5. from goto import comefrom, label
  6.  
  7. comefrom .repeat
  8.  
  9. name = raw_input('State your name! ')
  10.  
  11. if name:
  12. print "Hello ", name, "!"
  13. label .repeat
  14.  
  15. print "Terminating program."
Add Comment
Please, Sign In to add comment