Question: A fruit is read from input into fruit_input. String fruit_input is output, followed by shopping_list. Modify shopping_list so that shopping_list starts with a tab (t)
A fruit is read from input into fruit_input. String fruit_input is output, followed by shopping_list. Modify shopping_list so that shopping_list starts with a tab (\t) and each fruit in shopping_list is separated by a tab. fruit_input = input() shopping_list = 'pomegranates pineapples cranberries' print(fruit_input, end='') print(shopping_list)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
