Tidy up and add's slides on remotes

This commit is contained in:
Jonathan Hodgson 2020-06-16 16:21:13 +01:00
parent 94607bbdea
commit 312d654ea8
5 changed files with 315 additions and 61 deletions

View file

@ -0,0 +1,25 @@
#!/usr/bin/env python
import sys
def cat():
print("Meow")
def dog():
print("Woof")
def cow():
print("Moo")
def main():
if len(sys.argv) > 1 and sys.argv[1] == "cat":
cat()
elif len(sys.argv) > 1 and sys.argv[1] == "dog":
dog()
elif len(sys.argv) > 1 and sys.argv[1] == "cow":
cow()
else:
print("HELLO WORLD")
if __name__ == "__main__":
main()