7 lines
112 B
Python
7 lines
112 B
Python
def remove_char(s: str) -> str:
|
|
return s[1:-1]
|
|
|
|
|
|
if __name__ == "__main__":
|
|
print(remove_char("hallo"))
|