Write a Python program to find number is greater or smaller from list which is named mylist. Write manual code
Demonstrate various operations on String and tuple. String is " Hello friends how are you", Tuple name is MyTuple
Create a File newfile.txt. Write four to six lines in your file and perform following, number of line in file, number of words in line, number of vowels in file
Python program to check the student’s Grades in Examination based on following information. If
Percentage is >80 “Outstanding”, if Percentage>=70 and <80 “Distinction”, if percentage>=60 and <70
“First Class”, percentage >=50 and <60 “Second Class”, percentage >=40 and <50 “Pass Class”,
percentage <40 “Fail
Write Python code to use array package and perform, create one-D array, two-D array, perform
addition, multiplication and product of array
Write python program to create class name Student. Enter student names, class, rollno, Marks of two
subjects and display total and average marks of student
Write a python program to calculate net salary of employee based on following data.
Basic salary=16500, HRA=67%, DA=137%, TA=2%, NAAC=1500, Deduction- Professional
Tax=200, PF=1800, Calculate gross Salary monthly and Yearly, Calculate net salary monthly and
Yearly, Calculate income tax on employee salary yearly
This Python program takes input from the user in the form of space-separated integers and creates a
tuple from those values. It then finds the smallest and largest elements in the tuple and prints them. (Use
manual code, not built-in functions)
Write Python code to to create user defined function sum_of_digit to perform sum of digits of user
input (e.g. if user input is 5678= 26)
Write Python program to create parameterized constructor to take the name of emp, emp id and
employee basic salary. Take salary at run time and calculate salary for 12 months
Write Python program to take user string “Hello friends how are you, All the best for your practical
examination” Use regular expression and find all words starting from ‘H’ letter, display the position of
that word. Find ‘Hello” word and replace it with ‘Namaste”
Write Python code to check given number is odd or even using user defined function
Write a program in php to establish a database connection with mysql and perform Create table ,
insert operation.
This Python program takes input from the user for key value pair for your dictionary. It then find the
smallest and largest elements in the dictionary and prints them. (Use manual code, not built-in functions)
Write recursion function to calculate factorial of given number.
Write Python code read a file content from Myfile.text. Display contents of file
Write Python code to perform addition of two integers using Lambda function
Write Python code to create user defined package named Mypackage. Create module named Factorial
to calculate factorial of user input. Import module to display the factorial of given number
Write Python code perform following operations on list, insert new elements in list, display index of
fourth element in your list, sort list elements in ascending and descending order, remove list element
from list
Write Python code to create list of 5 subjects to store first element is name of subject, second element
is internal marks out of 30, third element is End term marks out of 70. Create DataFrame named
Result_Analysis. Give labels to DataFrame as Subject, Internal Marks, End_Term Marks. Apply basic
operations on DataFrame
Write Python program to create Base class Employee, Derived classes HR Dept. and IT Dept. Take
name Empid, and salary. Display the details of employee of both the departments.
Write Python code to validate email Id using regular expressions
Write Python code to open a file name Python.txt. Add at least four lines in file and display all the
contents on screen.
Write Python code to demonstrate Built-in packages in Python
Write Python code to find the given number is palindrome or not
Write Python code to overload arithmetic operators (any three).
Write Python code to perform basic set operations.
Write Python code to create file named file.txt. Change the name of file..txt with file1.txt. Remove
file1.txt
Write Python program to create user defined function to print number in reverse order
Write a Python program to demonstrate multilevel inheritance. The base class name is GrandParent
Create two classes which will be derived from related class which demonstrate multilevel inheritance
Write program to create file. Enter some contents in your file. Use readline(), readlines() function
0 टिप्पण्या
कृपया तुमच्या प्रियजनांना लेख शेअर करा आणि तुमचा अभिप्राय जरूर नोंदवा. 🙏 🙏