Quiz: Python Numbers

Instructions

Complete the following exercises and submit your code:

# Convert one type to another:
x = 8    # int
y = 1.3  # float
# 1. Convert from int to float:
# 2. Convert from float to int:
# 3. Write a Python program to convert an integer to binary. 
# Tip: search for the function 'format'
x = 11