Computer Science, asked by salman1416, 9 months ago

What gets printed with the following code ?
print "hello" ‘world’

Answers

Answered by gkleads8always
0

Answer:

Heya

Hello world gets printed with the code of programming languages such as python..

Answered by Anonymous
0

When the code print ( "hello" ‘world’ ) will be executed, then an error will be printed.

  • The code will print the output:

SyntaxError : invalid character in identifier.

  • This is because the statement to be printed should be placed inside the inverted commas keeping in mind that the starting inverted comma should be the same as the ending inverted comma.
  • Here in the code it started with "   but ended with   ' .
  • Therefore, an error is generated .
Similar questions