Question: CHALLENGE ACTIVITY 2 . 1 1 . 2 : Representing text. 5 1 9 1 8 2 4 0 1 0 8 9 6 9

CHALLENGE
ACTIVITY
2.11.2: Representing text.
5191824010896932407
Jump to level 1
A location is read from input into location_input. String favorite_places is output, followed by location_input. Modify favorite_places so that each location in favorite_places is separated by a newline ((n), and favorite_places ends with a newline. Ex: If the input is bank, then the output is:
art
gallery
aquarium
boutique
store
bank
1 location_input = input ()
favorite_places =["art", "gallery", "aquarium", "boutique", "store"]
favorite_places =('art in gallery in aqurium In boutique |n| store |n|', location_input)
print(favorite_places, end='')
 CHALLENGE ACTIVITY 2.11.2: Representing text. 5191824010896932407 Jump to level 1 A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!