college-algebra-python/proportions-extra.py

18 lines
260 B
Python

# print(1 + 2/3 + 3 + 4/5 - 7)
x = 2/3
print("10x = ", 10 * x )
print("9x = ", 9*x)
print("10x - 9x = ", 10*x - 9*x)
print("x = ", x)
print("-----------------------------")
y = 4/9
print(y)
print( 10 *y )
print(9*y)
print("-----------------------------")