Advanced Programming with Python

1 Write a program that reads a square matrix and displays the values of the principal and lower diameters of a triangle

Main diameter: elements whose rows and columns are equal. Bottom of the triangle: All objects on the main diameter and bottom of the main diameter

File Download
2 Write a program that reads the names of ten students, then sorts and displays them.

Read, sort, and display student names in sub-programs.

File Download
3 Write a program that reads ten integers and puts them in a list and displays only even numbers.

Read, recognize even numbers and display them under programs.

File Download
4 Write a program that displays the closure property with the addition function.

The context property for functions is the output of the function equal to the input of the functions (at least one input). This property causes nested functions to be used.

File Download
5 Write a program that reads ten integers and displays zero instead of even numbers and one instead of odd numbers.

Use subroutines.

File Download
6 Write a program that reads the address and city name and searches to see if the city name is part of the address.

Uppercase and lowercase letters in the address and city are not important. (Address and city should be entered in English)

File Download
7 Write a program that calculates the first ten Fibonacci numbers.

In Fibonacci numbers, each number is obtained from the sum of the previous two numbers, and this series of numbers starts with zero and one.

File Download
8 Write a program that calculates the first three hundred numbers of the Fibonacci series dynamically.

In dynamic programming, low-index numbers are calculated from high-index numbers and have low memory consumption and high execution speed.

File Download
9 Write a program that shows how to work with Tuples.

Actions such as merge, add, search, display

File Download
10 Write a program that demonstrates working with sets.

Actions: Add, search, view, delete and calculate the number of members

File Download
Document