Simple Calculator | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Simple Calculator

x = int(input(2)) y = int(input(8)) print(x + y) Why is this not working?

11th Jul 2021, 3:21 PM
Alyssa Reed
2 Respostas
+ 3
It's not necessary to add anything inside input() x = int(input()) y = int(input())
11th Jul 2021, 3:38 PM
Simba
Simba - avatar
+ 1
Also you have to give input in separate line . For example: 5 6
11th Jul 2021, 3:48 PM
The future is now thanks to science
The future is now thanks to science - avatar