- 1

QuestĂŁo

Good afternoon guys! Can anyone help me with this issue? What would be the output of this code, if the user entered 5 and 4 as input? width = input() height = input() area = int(width) * int(height) print(area//9)

3rd Nov 2022, 7:03 PM
Victor Guerrero
Victor Guerrero - avatar
4 Answers
0
obviously 2 because area = int('4') * int('5') = 4*5 = 20 now, print(area//9) returns 2
3rd Nov 2022, 7:15 PM
Random
Random - avatar
+ 1
You can get the answer by running the code in the code playground.
3rd Nov 2022, 7:14 PM
The future is now thanks to science
The future is now thanks to science - avatar
+ 1
Muito obrigado !
3rd Nov 2022, 7:21 PM
Victor Guerrero
Victor Guerrero - avatar
0
Bem-vindo
3rd Nov 2022, 7:24 PM
Random
Random - avatar