Week 6 ends - Python

This commit is contained in:
2026-06-08 19:54:16 +00:00
parent 59aed7c741
commit b0ed7431e8
1344 changed files with 233907 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
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)