Activities

s9problem1.py

import sqlite3

# define main function
def main():
    # Connect to the SQLite database
    db = 'session9.db'
    conn = sqlite3.connect(db)
    
    print("Main Function")
    # call functions
    problem(conn)
    

# define functions
def problem(conn):
    print("Problem")
    
# call to main function
main()

s9problem2.py

s9problem3.py

s9problem4.py

s9problem5.py

s9problem6.py

s9problem7.py

s9problem8.py

s9problem9.py

s9problem10.py

Last updated