Docstring
Cheomseongdae package is ...
cheomseongdae
cheomseongdae
Cheomseongdae
첨성대
ping(n=1)
staticmethod
ping & pong
To use:
>>> Cheomseongdae.ping()
pong
Parameters:
Name | Type | Description | Default |
---|---|---|---|
n |
|
1 |
Returns:
Type | Description |
---|---|
str |
Source code in cheomseongdae/cheomseongdae.py
@staticmethod
def ping(n=1) -> str:
"""ping & pong
To use:
>>> Cheomseongdae.ping()
pong
Args:
n:
Returns:
"""
return f"{'p' * n}ong"