# float() is a built-in function that converts a value into a floating-point number 
# A floating-point number (or float) is any number that can have a decimal point, such as: 3.14 , 0.75, 12.5 , -9.0 
# Floats are used when you need decimal precision, not whole integers


#Given an input as a percentage, write a program that converts the percentage into decimal form and outputs the results 
number = input("Enter a number: ")
percent = float(input())
decimal = percent / 100 
print = (decimal)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: