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:
Question 2:
Good luck with your exams:
Quiz 11: “Em&em” + “Bananarama” by juansalvadorfernandez is licensed under a Creative Commons Attribution 4.0 International License.