Ask Question
27 August, 09:08

What would you expect as the result of the code print (1 + 4) ?

A.

"1 + 4"

B.

print (1 + 4)

C.

five

D.

5

+4
Answers (1)
  1. 27 August, 12:37
    0
    D, you're adding numbers and it will just print the result in integers not in string format.

    You have 4 basic types of data in Python:

    Integer - > non-decimal number i. e. 1,2,3,4,5 ...

    Float - > decimal number

    i. e. 0,128

    Boolean - > true or false

    (that is clear enough I think?)

    String - > text as in a textbook i. e. You won the lottery.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What would you expect as the result of the code print (1 + 4) ? A. "1 + 4" B. print (1 + 4) C. five D. 5 ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers