Write the python program which takes two lists and maps two lists into a dictionary. INPUT_1:Size: 3List1: 1 2 3List2: 1 4 9 OUTPUT:The dictionary…
Write a program to print all the squares of the range from 1 to n. Input:Get the Value Output:Display the square value of the dictionary…
If the key is present then display the value of the entered key and if the key is not present then display the appropriate message…
Rearrange characters in a string such that no two adjacent are same.Given a string str, rearrange the characters of s so that any two adjacent…
Find the duplicate letters in string. Same to do in dictionary way. Input_1:Enter a String : fcukthecodeOutput:fcuktheod Input_2:Enter a String : programmingOutput:programin Input_3:Enter a String…