Yeah, so this quiz kinda messed with my head, even though it was fairly simple, i tried it with a For Loop but i didn’t remember the syntax at that moment soooo, here’s the link to my Github files, which are the answers to the quiz, P1.PY P2.PY Spoiler Alert: I got 5 on that […]
This quiz was a piece of cake, i didn’t have any problems and i feel really stupid because the first time i couldn’t do it the right way. HERE IS THE LINK TO MY CODE: https://www.dropbox.com/s/64i8sx2aiq74th7/p1.py?dl=0 https://www.dropbox.com/s/rwa3u5479nyzjpr/p2.py?dl=0
This quiz was a piece of cake, i didn’t have any problems and i feel really stupid because the first time i couldn’t do it the right way. HERE IS THE LINK TO MY CODE: https://www.dropbox.com/s/64i8sx2aiq74th7/p1.py?dl=0 https://www.dropbox.com/s/rwa3u5479nyzjpr/p2.py?dl=0
Hi guys! p1.py Here’s the code: https://github.com/JsphSalazar/Quiz-06/blob/master/p1 p2.py Here’s the last one: https://github.com/JsphSalazar/Quiz-06/blob/master/p2
On quiz #05 I had some trouble making the programs work, but after analizing it I realized it’s really easy, especially using for loops. Here’s the source code. If you want any other WSQs I’ve done, here’s my GitHub repository.
On quiz #05 I had some trouble making the programs work, but after analizing it I realized it’s really easy, especially using for loops. Here’s the source code. If you want any other WSQs I’ve done, here’s my GitHub repository.
So Ken gave us another opportunity to make our codes from the quiz right. My answers are exactly the same as Ken gave us in his class. Still, is really important to understand why im doing my code this way and to understand how functions works.
The first part consisted of writing a function called superpower that recieves two parameters from the user and returns an integer that is the result of the first parameter raised to the power of the second. I couldn’t use the ** operator and must use a loop. Last time I used a while loop instead […]
The first part consisted of writing a function called superpower that recieves two parameters from the user and returns an integer that is the result of the first parameter raised to the power of the second. I couldn’t use the ** operator and must use a loop. Last time I used a while loop instead […]