Fruit bowl program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
11th May 2023, 1:31 PM
V O S V B Subrahmanyam
V O S V B Subrahmanyam - avatar
7 Answers
+ 3
Where is your own attempt?
11th May 2023, 1:36 PM
Sakshi
Sakshi - avatar
+ 3
V O S V B Subrahmanyam Firstly try attempt by own and if you have doubt/error in your code then you can discuss here, see this post your know about it what you should post or not https://www.sololearn.com/Discuss/3021159/?ref=app
11th May 2023, 1:41 PM
Sakshi
Sakshi - avatar
+ 2
V O S V B Subrahmanyam you share incomplete code you can see the side '+' icon click on it then go to 'insert code' click on it then you can see on top the drop-down menu click on it now, you can see the 'my code bits' then click on it then share the code And if you still don't know how to do then you can see the post this https://code.sololearn.com/Wek0V1MyIR2r/?ref=app
11th May 2023, 1:54 PM
Sakshi
Sakshi - avatar
+ 2
Be careful! You have "fruit" as the input variable. For apples, you have a different variable called "fruits".
11th May 2023, 4:21 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
I am a beginner of python that's why I asked answer to this question
11th May 2023, 1:37 PM
V O S V B Subrahmanyam
V O S V B Subrahmanyam - avatar
+ 1
fruit = int(input()) apples=fruits/2 ple=apples/3 print(ple) print (int(ple)) #your code goes here
11th May 2023, 1:50 PM
V O S V B Subrahmanyam
V O S V B Subrahmanyam - avatar
0
Kk
11th May 2023, 1:47 PM
V O S V B Subrahmanyam
V O S V B Subrahmanyam - avatar