surshot444
surshot444 surshot444
  • 16-02-2017
  • Computers and Technology
contestada

What would you expect as the result of the code print(1 + 4)?
A.
"1 + 4"
B.
print(1 + 4)
C.
five
D.
5

Respuesta :

jef1125
jef1125 jef1125
  • 17-02-2017
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.
Answer Link

Otras preguntas

Charles Darwin’s theory of evolution by natural selection explains each of the following EXCEPT how...... A. evolution takes place in the natural world. B. sp
Three-fifths of the distance from (2,-3) to (-3,8)
Which sign makes the statement true 7 ? 7 2/5
Solve for a. a/g - f = D
when scrooge first sees the cratchit family, they are
13. Find a cubic function with the given zeros. 7, -3, 2
Point O is the center of the circle. What is the value of x? a. 8 b. 9 c. 15 d. 17
PLEASE HELP!!!!!! Which number(s) below belong to the solution set of the inequality? Check all that apply. “9x>117” A. 13 B. 19 C. 6 D. 14 E. 8 F. 12
9. Two lines that lie in parallel planes are _____ parallel. always never sometimes
Tiny blood vessel branches of the hepatic artery and the hepatic portal vein are found around each liver_________.