0% found this document useful (0 votes)
129 views1 page

Introduction To Python Assignment PDF

Uploaded by

Puneeth obli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views1 page

Introduction To Python Assignment PDF

Uploaded by

Puneeth obli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Python Certification Foundation Course

Introduction to Python Assignment

Problem Statement:

Consider yourself to be Sam who is a data scientist. He has been invited as a guest lecturer at
a college to take an introductory session on Python.

Tasks to be performed:

1. Create a list containing squares of numbers from 1 to 10 (HINT: use List


Comprehension).
2. Write a Function to check if year number is a leap year.
3. Write a Function to take an array and return another array that contains the members
of first array that are even.
4. Write a Function that takes 2 arrays and prints the members of first array that are
present of second array. (HINT: use Membership Comprehension)

Intellipaat Software Solutions Pvt. Ltd. Copyright 2011-2020. All Rights Reserved

You might also like