21 lines
432 B
Python
21 lines
432 B
Python
import subprocess
|
|
|
|
people = {
|
|
"Kelly": "+1-617-496-290900",
|
|
"David": "+132409283402348",
|
|
"John": "+2342390423804823048",
|
|
"Hayet": "+974 77666327",
|
|
}
|
|
|
|
name = input("Name: ")
|
|
|
|
if name in people :
|
|
number = people[name]
|
|
print(f"{number}")
|
|
command = "cowsay Found"
|
|
subprocess.run(command, shell=True)
|
|
|
|
else:
|
|
command = "cowsay Not Found"
|
|
subprocess.run(command, shell=True)
|