0

I need some help.

This is the code I’ve written in python 3, have been trying to figure out how this works for a couple days. I am completely new to python, so forgive me if there are terrible mistakes. fruit = int(input(27)) input = x int(x)// 2.0 = y Divide input by two to get # of apples int(y)// 4.0 = z Divide that number to show # of pies print("You can make" + "z" + "apple pies.")

16th Mar 2020, 2:08 AM
Iain
1 ответ
+ 4
fruit = int(input()) x = fruit y = int(x)//2.0 z = int(y)//4.0 print("you can make",z,"apple pies")
16th Mar 2020, 2:30 AM
✳AsterisK✳
✳AsterisK✳ - avatar