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
+12
View File
@@ -0,0 +1,12 @@
import subprocess
names = ["Kelly", "David", "John"]
name = input("Name: ")
for n in names:
if name == n:
print("Found")
break
else:
command = "cowsay Not Found Moooo"
subprocess.run(command, shell=True)