Question: Create a list ' d ' containing the values: 2 , 4 , 6 , 8 , 'Monday', 'Tuesday' Insert the value 1 0 0

Create a list 'd' containing the values: 2,4,6,8, 'Monday', 'Tuesday' Insert the value 100 between 4 and 6. Iterate over 'd', printing the type of each variable to the console. Have a tab character printed after each element, rather than a newline. Create a new list 'd2' containing the values: 'Wednesday', Thursday', 'Friday' Concatenate the two lists, storing the result in 'd'. Pop the last value off of 'd', and use it in a formatted string to say "My favourite day of the week is XXX", where XXX the popped value. Create a numpy array 'd', containing 10 linearly spaced values from 0 to 35. Reshape 'd' into a 5x2 array, storing the result in 'd' Calculate mean of the values in each column of 'd', rounding to two decimal places, and print the results. Print these values in 'd: all rows, second column

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 Programming Questions!