0% found this document useful (0 votes)
9 views1 page

Python Basics for Beginners

Uploaded by

mahedi hasan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Python Basics for Beginners

Uploaded by

mahedi hasan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Write a python program to find the greatest among three integer type variables.

Write a python program to reverse the following list and print the reversed list.
myList=[10,15,5,25]

Write a python program to merge two lists and print the merged list
Fruits1= [“Apple”,” Orange”,” Qiwi”]
Fruits2= [“Banana”,” Mango”,” Cherry”]

Write a python program to merge two following Dictionaries and print the merged dictionary.
myDict1={“Age”:20, ”Color”:”White”}
myDict2={“Height”:60}

Write a python program to find the Union of two sets and print the resulting set
mySet1={“Biscuit”,”Jelly”,”Jam”}
mySet1={“Fruits”,”Vegetables”,”Curry”}

Write a python program to find the intersection of two sets and print the resulting set
Set1={“a”,”b”,”c”}
Set2={“1”,”b”,”3”}

Write a python program to find the difference of two sets and print the resulting set
Set1={“a”,”b”,”c”}
Set2={“1”,”b”,”3”}

Write a program to implement the following grading system


0-39 ->F
40-79->A
80-100->A+

Write a python program which would have a function named “Calculate” to take three integers as input
arguments and return the largest one

Write a python program to print all characters in a string separately

You might also like