forked from emwdx/AAGithubExercise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
79 lines (44 loc) · 1.7 KB
/
Copy pathmain.py
File metadata and controls
79 lines (44 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
print("This is a demonstration of how Github works.\n")
print("Your task is to take this file, add a function in the space below that returns your name and a message, and then call it in the function labeled ourMessages below.\n")
# Hina's function goes here:
def hinaMessage():
''' This function returns a message from hina '''
return 'yay life'
#*************************************#
# Leo's function goes here:
#*************************************#
# Nam's function goes here:
def namMessage():
return "I need to talk to someone other than my maid all week long..."
#*************************************#
# Son's function goes here:
#*************************************#
# Jaden's function goes here:
def jadenMessage():
return "I ate a sandwich for lunch :)"
#*************************************#
# Jake's function goes here:
#*************************************#
# Tung's function goes here
def tungMessage():
return "I hate corona :("
#*************************************#
# Extra Student's function goes here
def extraFunction():
return "This student doesn't even go here."
#*************************************#
# Weinberg's function goes here:
def weinbergMessage():
return "Weinberg is in charge around here. He should probably sweep the floor. Especially since Mr. Phu isn't here. :("
#*************************************#
def ourMessages():
# Weinberg's function is called and printed here:
print(weinbergMessage())
print(extraFunction())
# Each of you should also print and call your functions here.
print (jadenMessage())
print(namMessage())
print(tungMessage())
print(hinaMessage())
#This will call the ourMessages function.
ourMessages()