float - decimal number , int - integer, str - string - words or characters , operators - + - * /, ** - exponent, PEMDAS - Order of Operations: Parentheses, Exponents, Multiplication, Division, Addition, Subtraction, LEFT to RIGHT, % - modular division which gives the remainder of a division operation (only works with integers), 45 % 4 - 1, 2 % 6 - 2, import - command to pull in code to add functions to your code such as math, random simplegui, etc., math simplegui random - modules that add functions, function - a collection of commands that are given a name, fabs(x) - Takes the absolute value of x (positive float), pow(x,y) - Raises x to the y power (float), sqrt (x) - Takes the square root of x (float), randint(x,y) - random integer between (and including x and y, random - Random float greater than 0.0 and less than 1.0, max - Finds the largest in a set of values, min - Finds the smallest in a set of values, import simpleplot - plots lines on a graph,
0%
Python Review Unit 2
Поділитися
Поділитися
Поділитися
автор:
Jbarber
Редагувати вміст
Друкувати
Вбудувати
Більше
Завдання
Список переможців
Показати більше
Показати менше
Цей список ресурсів наразі є приватним. Натисніть
поділитися
, щоб зробити його публічним.
Власник/-ця ресурсу приховав/-ла список переможців.
Цей список переможців був прихований, оскільки ваші параметри відрізняються від параметрів власника/-ці ресурсу.
Відновити параметри
Знайдіть відповідність
— відкритий шаблон. Тут не генеруються бали для списку переможців.
Вхід обов’язковий
Візуальний стиль
Шрифти
Потрібна підписка
Параметри
Обрати інший шаблон
Показати всі
Під час відтворення вправи відображатиметься більше форматів.
Відкриті результати
Копіювати посилання
QR-код
Видалити
Відновити автоматично збережене:
?