I want to take input from user of creating a mysql database I cant use python input to create mysql databasewhat i tryed
Getting this error please help the error
I want to take input from user of creating a mysql database I cant use python input to create mysql databasewhat i tryed
Getting this error please help the error
2
Answers
execute()
method parameters must be provided as a tuple, dict or a list :And I think you can execute your query directly like :
%-formatting
F-strings
str.format()
Consider using f-strings when dealing with string that contains variables.
Try this way, this works correctly.