School project (ez)
1.py Input a welcome message and display it.
2.py Input two numbers and display the larger / smaller number.
3.py Input three numbers and display the largest / smallest number.
4.py Given two integers x and n, compute 𝑥^n
5.py 1 + x + x^2 + x^3 + x^4 + ... + x^n
6.py 1 - x + x^2 - x^3 + x^4 + ... + x^n
7.py x + (x^2)/2 + (x^3)/3 + (x^4)/4 + ... + (x^n)/n
8.py x + (x^2)/2! - (x^3)/3! + (x^4)/4! + ... + (x^n)/n
9.py Determine whether a number is a perfect number, an armstrong number or a palindrome
10.py Input a number and check if the number if prime or composite number
11.py Display the terms of the Fibonacci series
12.py Compute the greatest common divisor and least common multiple of two integers
13_new.py Count and display the number of vowels, consonants, uppercase, lowercase characters in string, more efficiently than before.
14.py Input a string and determine whether it is a palindrome or not; convert the case of characters in a string
15.py Find the largest/smallest number in a list/tuple
16.py Input a list of numbers and swap elements at the even location with the elements at the odd location.
17.py Input a list/tuple of elements, search for a given element in the list/tuple.
18.py Input a list of numbers and test if a number is equal to the sum of the cubes of its digits. Find the smallest and largest such number from the given list of numbers
19.py Create a dictionary with the roll number, name and marks of n students in a class and display the names of students who have marks above 75.
20.py Input a list and calculate the mean of its elements