474,731 views
23 votes
23 votes
What is the result when you run the following program?
print(2 + 7)
print("3 + 1")

User Charlotte Dunois
by
2.4k points

1 Answer

13 votes
13 votes

#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 Darrend
by
3.2k points