Skip to content

This is about a set of tests to the python programmers

Notifications You must be signed in to change notification settings

Lomait/PythonChallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hello All, solve the following questions:


Q.1: Write a python program to print the square of each item in a comprehensive list. Suppose that your list is [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]?

Q.2: Write a python program that contains a two lists. the first list is L1 = [10, 15, 20, 12, 25, 45, 18] and the second list L2 = [4, 5, 6, 3, 2, 9]. Now your program should print the each item in the first list with it's related factors in the second list. For example:

5 is a factor of 10
2 is a factor of 10

Q.3: Write a python program that contains a list L = [0, 1, 2, 3, 4, 5, 6] and prints the numbers: 0, 2, 5?

About

This is about a set of tests to the python programmers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages