fix ratio label
This commit is contained in:
parent
650517c19f
commit
6b3fec2ade
2
ratio.py
2
ratio.py
@ -13,7 +13,7 @@ def main():
|
|||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
print('Width: {0}'.format(width))
|
print('Width: {0}'.format(width))
|
||||||
print(' 3x4 = {0}x{1}'.format(width, width * 3 / 4))
|
print(' 4x3 = {0}x{1}'.format(width, width * 3 / 4))
|
||||||
print('16x9 = {0}x{1}'.format(width, width * 9 / 16))
|
print('16x9 = {0}x{1}'.format(width, width * 9 / 16))
|
||||||
else:
|
else:
|
||||||
print('Enter width value!');
|
print('Enter width value!');
|
||||||
|
Loading…
Reference in New Issue
Block a user