Python and SQL in Jupyter

Viewed 29

Hello people I am using jupyter with Python and I am trying to create a table with values in it
here is a sample of the values:

VALUES
('United States', 'Marshall', 'Bernadot', 54),
('Ghana', 'Celinda', 'Malkin', 51),
('Ukraine', 'Guillermo', 'Furze', 53)

the data is quite large so placing \ in every line is impossible.
how can I avoid doing that so it is included in the cursor.execute() command?

0 Answers
Related