Question: solve based on python language What is the output of the following small codes? Show the steps. 1- In [1]: C = [-45, 6, 0,

 solve based on python language What is the output of the

solve based on python language

What is the output of the following small codes? Show the steps. 1- In [1]: C = [-45, 6, 0, 72, 1543] In [8]: a = 1 In [9]: b = 2 In [10] : c[a + b] Out[10]: What is the output? 2- In [13] : s = 'hello' In [14] : s[0] Out[14]: 'h' In [15]: s[0] = 'H' 3- In [18]: a_list = [] In [19]: for number in range(1, 6): a_list += [number] In [20]: a_list 4- In [24] : list1 = [10, 20, 30] In [25] : list2 [40, 50] list1 + list2 In [26]: concatenated_list In [27]: concatenated_list

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!