Changes between Version 117 and Version 118 of ControlSystems/SoftwareTeam/IntroToPython
- Timestamp:
- Sep 4, 2017, 11:44:54 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/IntroToPython
v117 v118 202 202 203 203 * `input(prompt)`: Prompts the user for input by showing the prompt screen, returning whatever the user entered after they hit <enter>. 204 * `pow(x,y)`: Return x^y^204 * `pow(x,y)`: Returns x^y^ 205 205 * `round(x,[n])`: Rounds a decimal number x to n digits after the decimal point. The [] means that the n is optional, if you don't include it, n=0. 206 206 * `sum(iterable)`: Sums all the numbers in the list ''iterable''.