At the moment I was doing the quiz I was so confused because I didn’t know how that works. After some research I just found out how to do both problems.

q1q2

Github code: https://github.com/luisduartepalacios/Quiz07

CC BY 4.0 #Quiz07 – TC1017 – A01631728 by luisduartepalacios is licensed under a Creative Commons Attribution 4.0 International License.