mirror of https://github.com/tiangolo/fastapi.git
📝 Add second tutorial src for python-types
This commit is contained in:
parent
58b69493a9
commit
5bd167e0e7
|
|
@ -0,0 +1,6 @@
|
|||
def get_full_name(first_name: str, last_name: str):
|
||||
full_name = first_name.title() + " " + last_name.title()
|
||||
return full_name
|
||||
|
||||
|
||||
print(get_full_name("john", "doe"))
|
||||
Loading…
Reference in New Issue