Skip to content

Instantly share code, notes, and snippets.

@myles
Created July 11, 2011 18:27
Show Gist options
  • Save myles/1076456 to your computer and use it in GitHub Desktop.
Save myles/1076456 to your computer and use it in GitHub Desktop.
Gob Program
#!/usr/bin/env python
import sys
def main():
print "Gob's Program: y/n?"
yesorno = raw_input()
if yesorno.lower()[0] == 'y':
while True:
sys.stdout.write('Penus ')
else:
print ''
if __name__ == "__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment