Python Forum
Writing an Adder in python 3?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing an Adder in python 3?
#1
So i need to white an Adder REPL.

Instructions are as follows:

quit: Exit the REPL or terminate a program.
input var: Prompt for and allow the user to enter a value for the variable named var
print val: Print the value val
var gets val: variable var is assigned the value val
var adds val: variable var has the value val added to it.

Can someone point me in the right direction? As I'm absolutely clueless at where to start.
Reply


Messages In This Thread
Writing an Adder in python 3? - by edwdas - Nov-11-2019, 03:33 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020