mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-06 02:26:46 +00:00
📝 Add tutorial src for python-types
This commit is contained in:
parent
786c392bd5
commit
58b69493a9
1 changed files with 6 additions and 0 deletions
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"))
|
||||
Loading…
Reference in a new issue