Question: In python please. String input _ item and integer food _ stock are read from input. Write a loop that iterates while food _ stock
In python please.
String inputitem and integer foodstock are read from input. Write a loop that iterates while foodstock is between and
both exclusive. In each iteration of the loop:
Read string inputitem from input.
Read integer foodstock from input.
Click here for example
Ex: If the input is:
Citron
Yam
Coconut
then the output is:
Coconut: is flagged!
inputitem input
foodstock intinput
printfinputitem: is flagged!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
