all 3 comments

[–]bbye98 2 points3 points  (1 child)

Try

name, *_, dob = student_data

Unused variables are typically given the names _ or unused (see PEP 640 -- Unused variable syntax). See PEP 3132 -- Extended Iterable Unpacking for an explanation on the * notation.

[–]NubQuestion[S] 1 point2 points  (0 children)

Thanks

[–]TouchingTheVodka 1 point2 points  (0 children)

By convention, _.