You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Write a Python program to create and display all combinations of letters, selecting each letter from a different key in a dictionary. Go to the editor
#Sample data : {'1':['a','b'], '2':['c','d']}
#Expected Output:
#ac
#ad
#bc
#bd
p=[]
k=[]
n=int(input("How many letters do you wanna to give in list1: "))
for i in range(n):
p.append(input("key "+str(i+1)+": "))
m=int(input("How many letters do you wanna to give in list2: "))