Eating 5 apples a day keeps the doctor away.
Eating 2 shoes a day keeps the doctor away.
我的代码是:
your_input = input() #input string and int
string_value = your_input.split()
str_value = string_value[0]
int_value = string_value[1]
while 'quit' not in your_input:
print("Eating {} {} a day keeps the doctor away.".format(int_value,str_value))
your_input = input()
break
your_input = input() #input string and int
string_value = your_input.split()
str_value = string_value[0]
int_value = string_value[1]
while 'quit' not in your_input:
print("Eating {} {} a day keeps the doctor away.".format(int_value,str_value))
your_input = input()
string_value = your_input.split()
str_value = string_value[0]
int_value = string_value[1]