0

Fruit bowel

I love learning and want to know people’s thoughts. How to do it better. How to do it cleaner and quick tricks. Here’s my fruit bowel code fruit = int(input()) #your code goes here i=fruit//2 p=i//3 print (p)

22nd Jan 2023, 6:16 PM
james ewell
james ewell - avatar
2 odpowiedzi
+ 2
james ewell unless you plan to reuse a value you could simply write this as an input and print print(int(input())//2//3)
22nd Jan 2023, 6:35 PM
BroFar
BroFar - avatar
0
Okay that makes sense
22nd Jan 2023, 6:41 PM
james ewell
james ewell - avatar