Computer Science, asked by Anonymous, 9 months ago

Write a Python program to create a phonebook dictionary and accept a new entry and test if the entry is valid. Perform the following checks on the phone number entered
(a) length (b) digits



Answers

Answered by shobi86
1

Answer:

Python Exercises, Practice and Solution: Write a Python script to ... n=int(input("Input a number ")) d = dict() for x in range(1,n+1): d[x]=x*x

Explanation:

hope it helps you

Similar questions