Question: Write it in Python 5. Change the following list to a list of dictionaries: - countries = [[('India', 'Mumbai') ],[( China', 'Shanghai') ],[( Finland', 'Tampere')
5. Change the following list to a list of dictionaries: - countries = [[('India', 'Mumbai') ],[( China', 'Shanghai') ],[( Finland', 'Tampere') ]. output: 6. Change the following list of lists to a list of concatenated strings: - names =[[( 'Milaan', , 'Parmar'') ],[(Arthur,Curry)),[( 'Bill', 'Gates') ,[( Ethan output ['Milaan Parmar', 'Arthur Curry', 'Bill Gates', 'Ethan Hunt'] 7. Write a lambda function which can solve a slope or y-intercept of linear functions. []
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
