+ 2

What's wrong with this python code

Print ("hello world");

16th May 2022, 2:30 PM
Priya Hiremath 🔘
5 Answers
+ 4
It is print, not Print. Also, remove the space between print and ()
16th May 2022, 2:32 PM
Lisa
Lisa - avatar
+ 1
It starts from a lowercase 'p' not uppercase 'P'. print("Hello world!") And it is print() not print ()
16th May 2022, 2:58 PM
Aurora Borealis
Aurora Borealis - avatar
0
print("hello world") errors: 1. P is capital ; python is case sensitive -> Print and print are different 2. print() is a function no space between keyword and parentheses 3. semicolon in python is not supported terminating of statement is done through (new line).
16th May 2022, 3:35 PM
Cyber Eagle
Cyber Eagle - avatar
0
Please make lower p not P
18th May 2022, 4:47 AM
Spicy Soda
0
First syntax error it should be print() not Print () because py is case sensitive language .. And Second is.. In python we not need semicolon ( ; ) at end of the line..
18th May 2022, 2:30 PM
Dev Maurya
Dev Maurya - avatar