Give the solution of the apthon exampsl prectical
- Write a program to create a number converter that can convert numbers between binary, decimal,
octal and hexadecimal.
E.g. i/p - Please Enter the base of your input number : 2 Please Enter Binary number : 1111 Please
Enter Base for your output number : 8 O/p- 1111 in octal is:0o17 - Write a program to check the data type of the input.
- Write a program to solve a quadratic equation.
- Write a program to perform addition on two lists and print it in third.
E.g. i/p - L1 = [ 1,2,3,”hello”,2.5] L2 = [1,2,3,”Hi”,2.2] o/p - [ 2,4,6,”helloHi”,4.7] - Write a program to read a string and print a number of unique characters from the string using set
- Write a program to print a multiplication table using for and while loop.
- Write a program to print LCM (Lowest Common Multiple).
- Write a program to find the Highest common factor.
- Write a program to make a calculator using a function.
- Write a program to print elements which are in even and odd positions.
- Write a program to compare two lists.
- Write a program to convert a list to set.
- Write a program to create a dictionary,convert the dictionary to list.
- Write a program to display Fibonacci using recursion.
- Write a program to check whether the entered number is Armstrong or not.
- Write a program to check whether the entered number is prime or not.
- Write a program to print following pyramid
- **
- Write a program to print following pyramid
1
22
333
4444
55555 - Write a program to print following pyramid
**