Module 2 Strings and Variables Simple Calculator Problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Module 2 Strings and Variables Simple Calculator Problem

Hi, I am wondering if anyone knows how to solve module 2's simple calculator problem? I put in my code, and I get both wrong. I left a link to my issue below. Please, If anyone can help, I will be very grateful for the help. https://docs.google.com/document/d/1AWNsEK3mfAzekABG4TGMVBycGCxc8E2P3Kp6HQu1Py8/edit?usp=sharing Thanks. :)

31st Jan 2021, 4:14 AM
Patrick Coakley
Patrick Coakley - avatar
1 Answer
+ 2
You need to get the input() of 2 variables convert them to int() and output their sum. You're not getting any input, but just outputting the sum of hard-coded literal integers twice.
31st Jan 2021, 5:23 AM
ChaoticDawg
ChaoticDawg - avatar