Functions - BenWare-FED/Python GitHub Wiki

List of functions https://docs.python.org/3/library/functions.html

min: finds that lesser value between inputted numbers, does not need a print statement, prints by itself

max: finds the greatest value between inputted numbers, does not need a print statement, print by itself

pow: quick way to do exponent math. syntax is pow(number, exponent) ex pow(2,3) = 8

range: used to generate a range of numbers and stores them. uses: range(5) goes to 0 to 4, range (3,21) goes from 3 to 20, range(3,18,3) goes 3, 6, 9, 12, 15. print using a for loop ex: for i in range (1,12,4): In order to make the count go backwards, use a negative step ex: for i in range (7,0,-1)