Question: in python code answer part a to d a) Print a list of numbers from 1 to 1000 that can be divided by 3 .

in python code answer part a to d

a) Print a list of numbers from 1 to 1000 that can be divided by 3.

b) Read a string from the input and print a list of vowels that belong to that string.

All vowels are enlisted in a variable of the same name.

Sample Input 1:

invertebrate

Sample Output 1:

['i', 'e', 'e', 'a', 'e']

c)Write a program that takes a list of numbers, creates another list of even numbers from the first list, and prints it.

E.g. if my_numbers = [1, 2, 3, 4, 5], then your program should print the list [2, 4].

D) The list seconds is a list of numbers that represent seconds. Convert the number of seconds to full days and print the list that contains these values. The number of full days should be an int value.

use seconds = [86400, 1028397, 8372891, 219983, 865779330, 3276993204380912]

# create a list of days here

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!