Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions prankcall.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ def intake():
intake()

def main():
print "\nHello! Thanks for using PrankCall, please choose one of the options below.\n"
print "Press 'i' to record a phone number\n"
print "Press 'e' to exit\n"
print ("\nHello! Thanks for using PrankCall, please choose one of the options below.\n")
print ("Press 'i' to record a phone number\n")
print ("Press 'e' to exit\n")
keypress = ord(getch())
if keypress == 105 or keypress == 73:
intake()
elif keypress == 69 or keypress == 101:
exit()

while True:
main()
main()