Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L lecture-code
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cs1-25sp
  • lecture-code
  • Repository

Switch branch/tag
  • lecture-code
  • 03
  • functions.py
Find file BlameHistoryPermalink
  • Adam Blank's avatar
    Add new file · 18dc90b0
    Adam Blank authored 2 months ago
    18dc90b0
functions.py 363 Bytes
EditWeb IDE
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
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)

Replace functions.py

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Menu

Projects Groups Snippets
Help