first commit
This commit is contained in:
commit
af41281519
10 files changed
+77
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,7 @@
|
||||
def remove_char(s: str) -> str:
|
||||
"removes first and last letter of a string"
|
||||
return s[1:-1]
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(remove_char("hallo"))
|
||||
@@ -0,0 +1,10 @@
|
||||
def addition(a=1, b=2):
|
||||
return a + b
|
||||
|
||||
|
||||
def f(x: int, y: int) -> int:
|
||||
return x + y
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(addition(5, 5))
|
||||
Reference in new issue
Block a user