>>> eval('print("hi")');
hiexception SystemExit
This exception is raised by the sys.exit() function.
r = requests.post('http://ras.arbitr.ru/Ras/Search', json=data, headers=headers)docs.python-requests.org/en/master/user/quickstart... # Query the database and obtain data as Python objects
>>> cur.execute("SELECT * FROM test;")
>>> cur.fetchone()
(1, 100, "abc'def")
# Make the changes to the database persistent
>>> conn.commit() def func1(a):
return a*a
def func2(a):
print(a)func1 возвращает a в квадрате, func2 ничего не возвращает а просто выводит a