How to have input in Python only take in string and not number or anything else only letters
How to have input in Python only take in string and not number or anything else only letters Question: I am a beginner in Python so kindly do not use complex or advanced code. contact = {} def display_contact(): for name, number in sorted((k,v) for k, v in contact.items()): print(f’Name: {name}, Number: {number}’) #def display_contact(): …