AP CSP Unit 3 Sections 5-7 Homework
Below is an example of decimal number to binary converter which you can use as a starting template.
def DecimalToBinary(number):
if number > 1:
DecimalToBinary(number//2)
print(number%2, end = "")
# function to reverse the string
number = int(input())
print("The binary for", number, "is: ", end = "")
DecimalToBinary(number)
# Driver Code