Can u tell me the error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can u tell me the error

def hello(): print("Hello world!") Hello()

21st Apr 2020, 5:20 AM
Polarathi Alekya
Polarathi Alekya - avatar
2 Answers
+ 2
Python is case sensitive language, When you define function you're using lower case "h" and at time of calling function you're using upper case "H" def hello(): print("Hello world!") hello()
21st Apr 2020, 5:25 AM
Raj Chhatrala
Raj Chhatrala - avatar
0
The function called hello h must be small
21st Apr 2020, 5:24 AM
Polarathi Alekya
Polarathi Alekya - avatar