33.8k views
18 votes
Read the following Python code:

day = 12
binaryDay = bin(day)
print(binaryDay)

Which of the following is the correct output? (5 points)
Group of answer choices
0b1100
0d1100
0p1100
0x1100

1 Answer

9 votes

Answer:

0b1100

Step-by-step explanation:

use online python ide

online-python.com/

paste code in

get answer "0b1100"

User Tom Martens
by
5.8k points