This has been the hardest quiz so far, still after figuring out the logic of the program it becomes something “not that hard”:

My problem with the first question was that I forgot that the “!” was indicating the factorial of a number. After exploring my inner self I remembered this and answered.

With the second code the problem was that I didnt read the full question and skippen the “text file in the same directory as the program” part. Once I read the question again I was able to solve it.

Question 1:

Q11-1.2Q11-1.3

Question 2:

Q11-2.1Q11-2.2

Good luck with your exams:

CC BY 4.0 Quiz 11: “Em&em” + “Bananarama” by juansalvadorfernandez is licensed under a Creative Commons Attribution 4.0 International License.