Share your repls and programming experiences
My first try at coding without help
Here is my calculator, it uses eval so that my code works much more easily and I won't have to write out every single operation.
I am confused. Can u help me pls?
@HarveyH I will try my best. You type a number, any number. then you type a function. Like plus, minus, multiply and divide. (the code only takes these). Then you type another number. remember to press enter after each one.
Hey whenever I press enter I get an error can you check that out?
@LightninMcQuade @epicman702 The error is because when you press enter, it tries to convert an empty string into an Int (number), however that's impossible, so it crashes
@LightninMcQuade Try the following inputs : enter 1 enter "plus" enter 1 enter
@LightninMcQuade Yeah. you were meant to type a number then press enter.
@Yamboy1 thanks 4 the tip!
pls open for tutorials