Rearrange the code to declare a function sayHi() and call it. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Rearrange the code to declare a function sayHi() and call it.

Hello everyone , what is ti answer?

14th May 2020, 9:50 PM
GUANLIANG Shi
GUANLIANG Shi - avatar
4 Answers
+ 3
This question is not full. You copied it feom a lesson I guess. Please post the full question so that we can help you explaining it.
14th May 2020, 9:58 PM
M Tamim
M Tamim - avatar
+ 2
Answer is: def sayHi(): print("Hi!") sayHi()
21st Sep 2020, 10:26 AM
Sankarganesh S
Sankarganesh S - avatar
0
I assume the answer may be : def sayHi(): sayHi()
14th May 2020, 10:25 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
0
def sayhi(): print("hi!") sayhi()
28th Mar 2022, 11:17 AM
Duppalapudi subha