sophiechait2
sophiechait2 sophiechait2
  • 16-03-2019
  • Computers and Technology
contestada

PLEASE HELP 99 POINTS

Read the following Python code:

skittles = 255
hexadecimalSkittles = hex(skittles)
print(hexadecimalSkittles)

Which of the following is the correct output?

A.0bff

B.0xff

C.0yff

D.0zff

Respuesta :

zlskfrum zlskfrum
  • 16-03-2019

255 in decimal = 0xff in hex

so the print output is 0xff and the answer is B.

Answer Link

Otras preguntas

Africa’s landscape is essentially __________.
In the first half of the 19th century, why did the U.S. Congress work to keep a balance between the number of slaveholding states and free states?
Why do historians use the term “Middle Ages?”
Which of the following is most likely the root word of transatlantic? a. trans c. altitude b. crossing d. atlas
What is 28% of what number is 7?
Who were nativists? transcendentalists who wanted to live in nature, away from urban centers Americans who wanted to revive the cultures of the nation’s origina
Is sparse living accommodations a characteristic of Athens, Sparta, or both? a. Athens b. Sparta c. Athens and Sparta
need help on this please
The study of the weather is known as
A depositional feature that forms where a stream enters a lake or an ocean is a a. natural levee. b. meander. c. delta. d. distributary.