Question: please help me! please do this code over to show the correct output in the console. please show screenshot with every line of code with
1 choice = "6" 2- if choice = "5": 3 print(choice) 4- elif choice - "6": 5 - try: 6 sal "INSERT INTO students(student_id, student_name, student_fastname, 7 student_email, student_DOB, major_id) VALUES (?, ?, ?, ?, ?, ?)*** 8 stud_id input("Enter a student ID: 9 stud_name - input("Enter a name: ") 10 stud_lastname = input("Enter Last name: *) 11 stud email - input("Enter email address: ") 12 stud_DOB - input("Enter DOB in (MM-DD-YYYY) format:) 13 14 cursor.execute(591. (stud_id, stud_name, stud_lastname, stud_email, stud_DOB, 206)) cursor.execute(sql, (23593043, "Greg", "Meyers", "gmeyersetest.com", "86-10-19971", 206) cursor.commit() 15 A 16 17 18 19 20- 21 except: print("Try again") Enter a student ID: 27593043 Enter a name: Greg Enter Last name: Meyers Enter email address: gmeyers@test.com Enter DOB in (MM-DD-YYYY) format: 06-10-1997 Try again
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
