#i need help with homework....

1 messages · Page 1 of 1 (latest)

arctic frigate
#

def funnyReturn(message: str) -> str:
""" Adds three stars '' on each side of a users message.
:param message: (str) The users message
:return : (str) The users message with "
**" on each side.

funnyReturn('hello')
'*** hello '
"""
message = "
" + 'hello' + " ***"
return message
result = funnyReturn('hello')
print(result)

it says that the str is not callable??

feral bolt
#

;compile py

def funnyReturn(message: str) -> str:
  message = f"Hello {message}"
  return message

result = funnyReturn("world")
print(result)```
calm rivetBOT
#
Program Output
Hello world
arctic frigate
hushed summit
#

it could be the test suite itself is doing something funny given that the above worked

prime dock
#

Can we see your test file?