Question: 1. Solve the following problems in your Juypter notebook (Python) a) Print all tuples (i,j), where i+j =0, and i b) Given list [22,34,50,20,31,10,23,16,65,90], iterate

1. Solve the following problems in your Juypter notebook (Python)

a) Print all tuples (i,j), where i+j<=6, i,j>=0, and i

b) Given list [22,34,50,20,31,10,23,16,65,90], iterate it and print only those numbers which are odd numbers

c) Define a function: Given four float numbers, return their product and sum. If the product is greater than 3000, then just return 3000.

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!