0

How to solve the problem

I Can't solve The problem of the strings and variables in the last part of simple calculator any help?

3rd Nov 2020, 4:16 PM
MADOUI Rachda
MADOUI Rachda - avatar
7 ответов
+ 3
MADOUI Rachda x and y should be input x = int(input()) y = int(input())
3rd Nov 2020, 4:27 PM
C K
C K - avatar
+ 3
3rd Nov 2020, 4:33 PM
C K
C K - avatar
+ 2
Can you show your attempt?MADOUI Rachda
3rd Nov 2020, 4:21 PM
C K
C K - avatar
+ 1
you need to convert strings to int or float!
3rd Nov 2020, 4:22 PM
Shadoff
Shadoff - avatar
+ 1
C K x=3; y=6; z=int(x)+int(y) print(z) The output is 9 but it says that I need to try again
3rd Nov 2020, 4:25 PM
MADOUI Rachda
MADOUI Rachda - avatar
+ 1
C K thank you
3rd Nov 2020, 4:33 PM
MADOUI Rachda
MADOUI Rachda - avatar
0
Shadoff when I used the input fonction it didn't work
3rd Nov 2020, 4:26 PM
MADOUI Rachda
MADOUI Rachda - avatar