Question: Please code in Python. thank you Problem 4. You are given two lists, cities and small_cities. Insert the elements from small_cities in cities in such

Please code in Python. thank you

Please code in Python. thank you Problem 4. You are given two

Problem 4. You are given two lists, cities and small_cities. Insert the elements from small_cities in cities in such a way so that the list cities would contain items in the following order: ["NYC", "LA", "Stony Brook", "Provo", "SF"] Use any method or way you want. ] : cities = ["NYC", "LA", "SF"] small_cities = ["Stony Brook", "Provo"] \# your code here Problem 5. Using the given list cities, produce the following output: NYC NYC NYC LA NYC SF LA NYC LA LA. LA SF SF NYC SF LA. SF SF ]: cities =[ "NYC", "LA", "SF" ] \# your code here Problem 6. You are given some words from the Swadesh list. ] : words = ["sun", "moon", "earth", "water", "food", "sky" ] Imagine that you are working with a native speaker of some language other than English. Create a new (empty) list for words of that language, call it translations. Then, for every word of the Swadesh list (words ), ask the user to provide its translation, and save them into the translations list. After all the words were translated, print translations . (ps. for the sake of the hw, you do not need to speak another language! To test your code you can simply input the English word again! What matters is the mapping!)

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!