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!
Tijaro almost 5 years ago
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)
Captain Price almost 3 years ago
I’m wondering why he even needs those