Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs1-25sp
lecture-code
Commits
18dc90b0
Commit
18dc90b0
authored
2 months ago
by
Adam Blank
Browse files
Options
Download
Email Patches
Plain Diff
Add new file
parent
618a7a15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
03/functions.py
+26
-0
03/functions.py
with
26 additions
and
0 deletions
+26
-0
03/functions.py
0 → 100644
View file @
18dc90b0
def
philippe
(
animal
):
return
"dragon"
animal1
=
"capybara"
animal1
=
philippe
(
animal1
)
print
(
animal1
)
def
arethey
(
animal1
):
animal1
=
"dragon"
def
philippe
(
x
):
return
"dragon"
def
dogsarebetter
(
animal
):
animal
=
"robot"
animal
=
philippe
(
animal
)
return
animal
animal1
=
"capybara"
animal1
=
dogsarebetter
(
animal1
)
print
(
animal1
)
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment