We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b144a9c commit 5e9dfb3Copy full SHA for 5e9dfb3
1 file changed
sqlite3__examples/print_version.py
@@ -8,5 +8,6 @@
8
9
10
with sqlite3.connect(":memory:") as connect:
11
- version = connect.execute("SELECT SQLITE_VERSION()").fetchone()
12
- print("SQLite version: %s" % version)
+ version = connect.execute("SELECT SQLITE_VERSION()").fetchone()[0]
+ print(f"SQLite version: {version}")
13
+ # SQLite version: 3.35.5
0 commit comments