Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

Prove the given identities. csc 2 x(1 cos 2 x) = 1

Answered: 1 week ago