9 Answers
New AnswerOkay, congrats Bianca Stašová . Now only for clearing understanding for you how it works in a easy form: ina = int(input()) inb = int(input()) res = ina + inb print(res)
elif user_input == "multiply": num1 = float(input(3)) num2 = float(input(6)) result = str(num1 + num2) print("The answer is" + result) I tried at least ten time to make it😅
#Just three lines x = int(input()) y = int(input()) print (x+y) #I did that and collected 50XP
Look you can make a calculator with command line interface but not with graphical user interface, if you are a beginner. Continue learn coding until you start developing web apps or android/iOS apps. This is not so quick dear. Just don't give up and learn. Later you will guide your path yourself. Just keep learning a programming language.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message