130k views
1 vote
Jose wants to convert his birth year from digital to binary. Which Python function should Jose use?

O bin(year)
O bin = year
O binary(year)
O digi(year)

1 Answer

5 votes

The correct python function is bin() therefore,

bin(year) is the correct answer.

User Emazzotta
by
5.0k points