Write a program to input your friends’ names and their Phone Numbers and store them in the dictionary as the key-value pair.
Q. Write a program to input your friends’ names and their Phone Numbers and sto…
Q. Write a program to input your friends’ names and their Phone Numbers and sto…
Q. Write a Python program to create a dictionary from a string. Note: Track the…
Q. Write a Python program to find the highest 2 values in a dictionary. Answer …
Q. Write a program to input names of n students and store them in a tuple. Also…
Q. Write a program to read email IDs of n number of students and store them in …
Q. TypeError occurs while statement 2 is running. Give reason. How can it be c…
Q. Prove with the help of an example that the variable is rebuilt in case of im…
Q. When to use tuple or dictionary in Python. Give some examples of programming…
Q. What advantages do tuples have over lists? Answer:- Advantages of tuples ov…
Q. With the help of an example show how can you return more than one value from…
Q. “Lists and Tuples are ordered”. Explain. Answer :- Lists and Tuples are orde…
Q. Consider the following dictionary stateCapital: stateCapital = {"Andhra…
Q. Consider the following tuples, tuple1 and tuple2: tuple1 = (23,1,45,67,45,9,…