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

Exercise 1

The document outlines 10 programming exercises to demonstrate different Python concepts including number data types, arithmetic operations, strings, lists, tuples, dictionaries, functions, nested loops, classes, and reversing strings.

Uploaded by

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

Exercise 1

The document outlines 10 programming exercises to demonstrate different Python concepts including number data types, arithmetic operations, strings, lists, tuples, dictionaries, functions, nested loops, classes, and reversing strings.

Uploaded by

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

1. Write a program to demonstrate different number data types in Python.

2. Write a program to perform different Arithmetic Operations on numbers in Python.

3. Write a program to create, concatenate and print a string and accessing sub-string from a given
string and other string operations

4. Write a program to create, append, and remove lists in python.

5. Write a program to demonstrate working with tuples in python.

6. Write a program to demonstrate working with dictionaries in python.

7. Write a Python function to convert temperatures to and from Celsius, Fahrenheit.

8. Write a Python program to construct the following pattern, using a nested

for loop

**

***

****

*****

****

***

**

9. Write a Python class to convert an integer to a roman numeral.

10. Write a Python class to reverse a string word by word.

You might also like