Я напечатал несколько строк, чтобы можно было построить диаграмму:
Код: Выделить всё
print("Welcome to the Pythagoras Theorem Calculator, powered by Python!")
print("Below are the values a, b and c. You will need to input these values after.")
print('''
| .
| .
| .
side a| . side c
| .
| .
|_____________.
side b
''')
Подробнее здесь: https://stackoverflow.com/questions/191 ... -in-python
Мобильная версия