Skip to content

SaeedKayy/Day5-Lab2-Dictionary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Day5-Lab2-Dictionary

Build a phone book program that receives the phone number, and returns the name of the owner. You can follow the table below:

Name Number
Amal 1111111111
Mohammed 2222222222
Khadijah 3333333333
Abdullah 4444444444
Rawan 5555555555
Faisal 6666666666
Layla 7777777777
  • If the number exists, print the owner. Otherwise, print "Sorry, the number is not found".
  • If the number is less or more than 10 numbers, print "This is invalid number".
  • If the number contains letters or symbols, print "This is invalid number".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%