Question: its in python programming Create a loop that will herste over all of the integers between 1 and 10 only printing out the integers that

 its in python programming Create a loop that will herste over
its in python programming

Create a loop that will herste over all of the integers between 1 and 10 only printing out the integers that are divisible by 3. Hint: see the modulo function in lecture 01.) Create a function that checks what datatype it is fed. If it is fed a float or an integer, multiply this value by 2 and return it. If it is fed a list, create a formatted print statement to tell the user the first value in the last (as a string) and the length of the list. If it is anything else, roturn a print statement that notifies the user that an error has occurred, and that the input must be a number or a lint In ) Make a list and pass this listinto your function In 1 Past a number into your function In 11 Passa tuple into your function

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!