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

Python Basics: Control Statements & Programs

The document outlines a series of Python programming exercises focusing on basic data types, control statements, and various operations. It includes tasks such as demonstrating arithmetic operators, checking for prime numbers, displaying patterns, and working with lists and tuples. The exercises aim to enhance understanding of fundamental programming concepts in Python.
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)
11 views1 page

Python Basics: Control Statements & Programs

The document outlines a series of Python programming exercises focusing on basic data types, control statements, and various operations. It includes tasks such as demonstrating arithmetic operators, checking for prime numbers, displaying patterns, and working with lists and tuples. The exercises aim to enhance understanding of fundamental programming concepts in Python.
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

Python -Basic and control statements

1. Write a Python program to demonstrate basic datatypes

2. Write a program to display the contents of list and tuple without using for

3. Write a Python demonstrate all the arithmetic operators

4. Write a Python program to check a value is in the list or not using

appropriate operator

5. Write a Python program to check given number is positive or negative

6. Write a program to display all the even numbers below 100

7. Write a program to reverse a number

8. Write a program to check the given number is prime or not

9. Write a program to display divisible of 5 between 1 to 100

[Link] a program to show multiplication table of given number

[Link] a program to display the following pattern

*****

****

***

**

Write a program to display all the elements of tuple and a list using for loop

Write a program to check the given year is leap or not.

You might also like