Python Exercises

7. Write a program in Python to keep count of this given list starting from 100.

The list of items is -

["Suger", "Tea", "Rice", "Wheat", "Salt", "Pulse"]
10. Write a program in Python to filter the given list if the given expression evaluates to true.

Suppose the list and expression are -

list = [0, 3, 2, 30, 20, 34, 89, 35, 72, 64]
expr = (x % 4 == 0)

Related Articles

Python program for Prime Number
Odd Even Program in Python
Python program to convert Celsius to Fahrenheit
Python Convert XML to CSV
Python Text to Speech
Python send mail to multiple recipients using SMTP server
How to generate QR Code in Python using PyQRCode
Python programs to check Palindrome strings and numbers
CRUD operations in Python using MYSQL Connector
Fibonacci Series Program in Python
Python File Handler - Create, Read, Write, Access, Lock File
Python convert XML to JSON
Python convert xml to dict
Python convert dict to xml

Read more articles

General Knowledge

Learn Popular Language