Had a torture filled 4 years in my undergraduate degree. Mostly poor grades throughout. But I aced the 2 internships as part of the degree program. Several profs told me that had the university believed in absolute marking versus relative, I would have been booted out in the third year itself.
I can solve real world problems, but cant understand theory and textbooks beyond a point. Definitely struggle with closed scope problems in exams.
I learnt to code - started with frontend development, which was easier back then. Basically, find something in software that you can excel at, with ease, within months.
Resilience beats academic excellence in the real world of solving typical problems and earning a decent living.