COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What will the output be from the following code?print("3*4+5")
A
SyntaxErrror
B
17
C
3*4+5
D
12
Explanation: 

Detailed explanation-1: -The answer is 34 (as an integer), first when you add strings they are concatenated so “3” + “4” would give the string “34” then the int() function would change that string into an integer.

Detailed explanation-2: -Answer: d) The answer of this question is 0.

There is 1 question to complete.