Basic types and their use in Python.
Basic output (print) in Python
Calling Python function
Creating Python functions
Basic types and their use in Python.
Basic output (print) in Python
This WSQ consisted of checking the values from a lower and upper bound, given by the user, and make a report of the based on their palindrome /lychrel/non-lychrel characteristics. To reverse numbers I used extended slices My code can be found here: https://github.com/CarminaP/WSQ/blob/master/WSQ11.py
This WSQ consisted of checking the values from a lower and upper bound, given by the user, and make a report of the based on their palindrome /lychrel/non-lychrel characteristics. To reverse numbers I used extended slices My code can be found here: https://github.com/CarminaP/WSQ/blob/master/WSQ11.py
The quiz consisted on writing a function that receives two lists of numbers and returns the dot product of the two lists. In this task I made a sum of a series , used the built- in functions zip and len and the string function split(). The code can be found here: https://github.com/CarminaP/Quiz8/blob/master/p1.py
The quiz consisted on writing a function that receives two lists of numbers and returns the dot product of the two lists. In this task I made a sum of a series , used the built- in functions zip and len and the string function split(). The code can be found here: https://github.com/CarminaP/Quiz8/blob/master/p1.py
This program asks the user for a non-negative integer and displays the value of n factorial (n!). I used conditionals and while loops that allowed the process of the factorial. The code is found here: https://github.com/CarminaP/WSQ/blob/master/WSQ09.py
This program asks the user for a non-negative integer and displays the value of n factorial (n!). I used conditionals and while loops that allowed the process of the factorial. The code is found here: https://github.com/CarminaP/WSQ/blob/master/WSQ09.py
This time we recycled the code of WSQ03, now writing a function for each calculation. Each function has two integer parameters given by the user and returns the correct value as an integer as well. The code is found here: https://github.com/CarminaP/WSQ/blob/master/WSQ08.py