Computer Science, asked by ayanahmadkhanmake, 7 months ago

Why is the following code giving errors?
Name = "Sita"
print(“Greetings!!!")
print("Hello",Name)
print("How do you do?")

Answers

Answered by Oreki
0

Answer:

Replace line two with,

print("Greetings!!!")

Explanation:

The program gave error because of mismatched inverted commas (" and ”).

Answered by anindyaadhikari13
4

Answer:-

The following code is giving errors because of mismatched inverted commas. Both the inverted commas are different.

Write this

print("Greetings")

Similar questions