RosettaCodeData/Task/Use-another-language-to-call-a-function/Python/use-another-language-to-call-a-function-1.py
2023-07-01 13:44:08 -04:00

6 lines
185 B
Python

# store this in file rc_embed.py
# store this in file rc_embed.py
def query(buffer_length):
message = b'Here am I'
L = len(message)
return message[0:L*(L <= buffer_length)]