5 lines
129 B
Python
5 lines
129 B
Python
print(f'Number\t\tSquare\t\t\tCube')
|
|
|
|
for x in range(1, 11):
|
|
x = float(x)
|
|
print(f'{x:5.2f}\t\t{x*x:6.2f}\t\t{x*x*x:8.2f}')
|