Mid Python Edge
Mid Python Edge
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 python program which would have a function named “Calculate” to take three integers as input
arguments and return the largest one