zaidxli zaidxli
  • 04-10-2020
  • Computers and Technology
contestada

Why the following code is giving error NAME="REHMAAN" PRINT ("hello') PRINT ("HI")

Respuesta :

tonb
tonb tonb
  • 04-10-2020

Answer:

corrected code:

NAME="REHMAAN"  

print ("hello")  

print ("HI")

Explanation:

  • In python, put every statement on its own line. Even indentation matters.
  • PRINT should be in lowercase, i.e., print
  • The string quotes should be both " or both ', but not a mix like in "hello'
Answer Link

Otras preguntas

What does Virtuoso mean?
How is the prime minister chosen? A. Elected by members of the House of Lords B. Appointed by the monarch C. Elected by members of the House of
At the height of the Great Depression, what percentage of workers in the country was unemployed?
What was prohibited by the 18th amendment?
Lincoln promised the South that he would not interfere with slavery where it already existed. a. True b. False
125% of 62 is what number
Read the excerpt from sir Gawain and the green knight and complete the sentence "The hurt was whole and that he had had in his neck and the bright on his body h
In The Prince, Machiavelli says: "It is safer to be feared than to be loved." Which is the best description of his meaning? Rulers should only treat their own
Sexual relationships can be risky, especially for teens. One risk associated with sexual activity are sexually transmitted infections
what's the nearest tenth of 1.91