I added 7 more questions based on programming, networking, maths.
Also I enhanced the input taking by adding a while loop. Now if the player accidentally pressed letters or numbers beyond 1-4, the program will prompt the player to enter choice again(this will not happen if the choice is already from 1-4) instead of jumping directly to next question. Also changed the .format prints to f strings which are almost equivalent but more manageable and readable.
Some small miscellaneous changes:
1) Added sleep after prints so that statements are printed one after another instead of bombarding player with tons of text at once.
2) Added separators between questions.
3) Changed the options format to 2x2 grid and added prompt for input
I added 7 more questions based on programming, networking, maths.
Also I enhanced the input taking by adding a while loop. Now if the player accidentally pressed letters or numbers beyond 1-4, the program will prompt the player to enter choice again(this will not happen if the choice is already from 1-4) instead of jumping directly to next question. Also changed the .format prints to f strings which are almost equivalent but more manageable and readable.
Some small miscellaneous changes: 1) Added sleep after prints so that statements are printed one after another instead of bombarding player with tons of text at once. 2) Added separators between questions. 3) Changed the options format to 2x2 grid and added prompt for input