mirror of
https://github.com/fastapi/fastapi.git
synced 2026-01-03 03:28:39 -05:00
📝 Add tutorial src for python-types
This commit is contained in:
6
docs/tutorial/src/python-types/tutorial001.py
Normal file
6
docs/tutorial/src/python-types/tutorial001.py
Normal file
@@ -0,0 +1,6 @@
|
||||
def get_full_name(first_name, last_name):
|
||||
full_name = first_name.title() + " " + last_name.title()
|
||||
return full_name
|
||||
|
||||
|
||||
print(get_full_name("john", "doe"))
|
||||
Reference in New Issue
Block a user