WAP to input a name of your classmate. Print the no. of letters present in it ?
Answers
Answered by
1
Answer:
Explanation:
print("Amit" in names)
print("dictionary in sorted order")
for i in sorted (names) : #sort the dictionary
print((i, names[i]), end =" ")
Similar questions