This commit is contained in:
2022-06-23 14:34:56 +02:00
parent 9e928bbec7
commit 5368be695f
6 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Make a programm which asks Quiz Questions, which are stored in a database
import sqlite3
punkte=0
i=0
con = sqlite3.connect('questions.db')
cur = con.cursor()
# Fetch Questions
while(True):
i+1
question=cur.execute("SELECT QUESTION FROM QUESTIONS WHERE NUMBER is %s"%(i))
print(question)
break
# @Philipp: fortsetzen