Python Program - Writing a functon to find number less than n (user input number) in a list

Опубликовано: 07 Май 2026
на канале: HashTech Coders
1,132
14

In this video I will show you python program that
Takes a list, say for example this one:
a=[1,1,2,3,5,8,13,21,34,55,89]

and writing a program that prints out all the elements of the list that are less than n(i.e user input value).
if user input is 5 all numbers less than 5 will be displayed.
we will take the list from the user i.e user will give us the elements of the list.

Do Like Share and Subscribe.....

For more updates do follow us on:

Instagram:   / hashtech_coders  

Facebook:   / hashtechcoders  

Medium:   / hashtechcoders  

Thank you!!!