from os import system
buffer = []
system('cls')
buffer.append('Hello')
print('\n'.join(buffer))
system('cls')
buffer.append('My number is 1')
print('\n'.join(buffer))
system('cls')
buffer.append('My number is 2')
print('\n'.join(buffer))
y = input( 'Введите функцию: ' )
x = int( input( 'Введите аргумент (x): ' ) )
def function(x):
return eval(y)
print( 'Ответ: ' + function(x))