7.4k views
4 votes
What is the result when you run the following program?
print(2 + 7)
print("3 + 1")

1 Answer

1 vote

#1

  • No quotes means program will add the numbers .


\tt print (2+7)


\tt 9

#2

  • Here there is a double quote
  • Program will print inside


\tt print (


\tt 3+1

User Ganesh Kaspate
by
3.5k points