r/PythonProjects2 • u/LucidLeo235 • May 08 '26
QN [easy-moderate] i made a calculator
inputs were 20 and 10
44
Upvotes
r/PythonProjects2 • u/LucidLeo235 • May 08 '26
inputs were 20 and 10
View all comments
Show parent comment
1
u/LucidLeo235 May 10 '26
it is not ai generated, AI generated would be more complex than that
this is what AI made
def calculate(): print("Simple Calculator") print("Operators: + - * / // ** %") print("Type 'quit' to exit\n")
calculate()
this is what I made
input_one = int(input()) input_two = int(input()) print(input_one + input_two) print(input_one - input_two) print(input_one * input_two) print(input_one / input_two)
(Calculators were the first thing I made as a beginner, and I am an absolute noob outside of that)