Last active
May 21, 2020 09:08
-
-
Save slingam00/65dd9bd859fefd08081fad3fbc176651 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def hello(): | |
return("Hello") | |
print(hello()) # printing the call of the function which returns "Hello" | |
def name(firstName, lastName): | |
return("Hello, my name is " + firstName + " " + lastName) | |
print(name("John", "Doe")) # name function gets called | |
# firstName getting passed in is 'John' | |
# lastName getting passed in is 'Doe' | |
# The result is the String: Hello, my name is John Doe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment