0% found this document useful (0 votes)
59 views3 pages

Python Pangram and List Filtering

Uploaded by

bhumikamore85
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)
59 views3 pages

Python Pangram and List Filtering

Uploaded by

bhumikamore85
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

ITVoyagers (itvoyagers.

in)

Python Programming Practical

Practical 3

• A pangram is a sentence that contains all the letters of the


English alphabet at least once, for example: The quick
brown fox jumps over the lazy dog. Your task here is to
write a function to check a sentence to see if it is a
pangram or not.

OUTPUT

1
ITVoyagers ([Link])

• Take a list, say for example this one:


a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
and write a program that prints out all the elements of the
list that are less than 5.

TYPE 1

OUTPUT

NOTE: Above program is static and can check only values


less than 5 if we want to make it dynamic, we can accept
value from user in place of 5.
Below is example of same program with runtime value from
user.

2
ITVoyagers ([Link])

TYPE 2

OUTPUT

You might also like