FoxTrot by Bill Amend for February 07, 1996
Transcript:
Computer: fontsize:= 36; FOR i:=1 to 1000 Do Begin writeln('KICK ME'); writeln; END; Printer: Printzzz... printzzz... printzzz... pirntzzz... Marcus: You gotta love the person who invented form feed labels. Jason: Hiya, Tracy. Nice job on that report last month!
bank simulator:
balance = 1000
choice = input("Deposit or Withdrawal? ")
if (choice == “deposit” or choice == “d”): amount = int(input("Enter amount: “)) print (”Final balance: " + str(balance + amount))
elif (choice == “withdrawal” or choice == “w”): amount = int(input("Enter amount: " )) if (amount > balance): print (“You cannot have a negative balance!”) else: print ("Final balance: " + str(balance – amount))else: print (“Invalid transaction.”)(this is python 3.6)