0
Can you Coding this?
>>>greet('World') 'Hello, World!' >>>greet('Grok') 'Hello, Grok') >>>greet('123') 'Hello, 123'
6 Respostas
+ 2
greet is a function that accepts a string and returns "Hello, "+string.
+ 2
print(greet("123"))
but the challenge is to define greet.
I wont give you the code without own effort. That's how we deal it it in SL.
+ 1
I define it like this:
Def greet(World, Grok, num):
return 'Hello, +string'
if __name__ == :__main__':
But I didn't know how to print it correctly
0
Can you tell me how i can print it
0
so is case solved for u?
0
Thanks I do appreciate this
I'll close my laptop and sleep cause my head it explode from the thinking