'''6. Write a Python program to format a number with a percentage. '''

x = 0.25
y = -0.25
print("\nOriginal Number: ", x)
print("Formatted Number with percentage: "+"{:.2%}".format(x))
print("Original Number: ", y)
print("Formatted Number with percentage: "+"{:.2%}".format(y))
print()

#Reference: w3resource 
c0ce31747de2fb2ccd3fb9b2e317e4c5c23a1558
<mask token>

<mask token>
print("""
Original Number: """, x)
print('Formatted Number with percentage: ' + '{:.2%}'.format(x))
print('Original Number: ', y)
print('Formatted Number with percentage: ' + '{:.2%}'.format(y))
print()

<mask token>
x = 0.25
y = -0.25
print("""
Original Number: """, x)
print('Formatted Number with percentage: ' + '{:.2%}'.format(x))
print('Original Number: ', y)
print('Formatted Number with percentage: ' + '{:.2%}'.format(y))
print()

'''6. Write a Python program to format a number with a percentage. '''

x = 0.25
y = -0.25
print("\nOriginal Number: ", x)
print("Formatted Number with percentage: "+"{:.2%}".format(x))
print("Original Number: ", y)
print("Formatted Number with percentage: "+"{:.2%}".format(y))
print()

#Reference: w3resource 