Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sqlite3
- name = input()
- rules = input()
- conn = sqlite3.connect(name)
- cursor = conn.cursor()
- for row in cursor.execute("""SELECT latitude, longitude FROM Island WHERE :x""", {"x": rules}):
- print(row)
- conn.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement