Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
1.
Write and execute simple python Program
2. .Write /execute simple „Python‟ program: Develop minimum 2 programs using different data types (numbers, string, tuple, list, dictionary). 3. Write /execute simple „Python‟ program: Develop minimum 2 programs using Arithmetic Operators, exhibiting data typeconversion. 4. (i)Write simple programs to convert U.S. dollars to Indian rupees. (ii) Write simple programs to convert bits to Megabytes, Gigabytes and Terabytes. 5. Write simple programs to calculate the area and perimeter of the square, and the volume & perimeter of the cone. 6. . Write program to: (i) Determine whether a given number is odd or even. (ii) Find the greatest of the three numbers using conditional operators. 7. . Write a program to: i) Find factorial of a given number. ii) Generate multiplication table up to 10 for numbers 1 to 5 8. . Write a program to: Create a list, add element to list, delete element from the lists. 9. . Write a program to: Sort the list, reverse the list and counting elements in a list. 10.. Write a program to: Create dictionary, add element to dictionary, delete element from the dictionary. 11.. Write a program to: To calculate average, mean, median, and standard deviation of numbers in a list. 12.Write a program to: To print Factors of a given Number. 13.File Input/output: Write a program to: i) To create simple file and write “Hello World” in it. ii) To open a file in write mode and append Hello world at the end of a file. 14.. Write a program to :i) To open a file in read mode and write its contents to another file but replace every occurrence of character „h‟ ii) To open a file in read mode and print the number of occurrences of a character „a‟. 15.Write a Program to: Add two complex number using classes and objects. 16.Write a Program to: Subtract two complex number using classes and objects. 17.Write a Program to: Create a package and accessing a package