- 1
Help?
I need help to do Simple calculator project on Python
6 Antworten
+ 3
Do you mean the task in the course?
* take 2 inputs using input()
* store inputs in 2 variables
* convert variables to integer using int()
* add the 2 variables
* print the result
If you have problems with the code, please link your code!
+ 3
Great!
Just a hint: You don't need the int() in the 3rd line – x and y already will be integer as you converted them in line 1 and 2
+ 2
Hi Narcis Moraru
Can you please provide the following to help us help you.
Description of task with example inputs ,outputs.
Or name of challenge and where it is located,
IE: 12.5 Python Core - Challenge Name
Please show us your attempt so we may advise you how to improve. (hopefully)
+ 2
Yeah, I solved it
x = int(input())
y = int(input())
z = int(x) + int(y)
print(z)
+ 1
Please take a look at the forum rules:
https://www.sololearn.com/Content-Creation-Guidelines/
https://www.sololearn.com/Discuss/1316935/?ref=app
Take a look at these guides on how to ask a question.
https://stackoverflow.com/help/how-to-ask
https://www.sololearn.com/blog/38/8-simple-rules-to-get-help-from-the-community
+ 1
Oh, thanks!