What is a function in Python?, A type of loop, A block of reusable code, A variable, A comment, Which keyword is used to create a function?, function, create, def, fun, Which line correctly defines a function named greet?, function greet():, def greet():, greet def():, create greet(), How do you call a function named hello?, call hello, hello[], hello(), def hello(), What will this code print?, hello, Hi!, Error, Nothing, What is the value inside the parentheses of a function definition called?, Loop, Variable, Parameter, Return, What is the value passed when calling a function called?, Parameter, Argument, Return, Variable, Which function definition has one parameter?, def game():, def game(score):, game(score), score(game), What does this code print?, Hello, Sara, Error, Hello Sara, Which statement sends a value back from a function?, return, break, input, print, What will this code display?, 43, 7, add, Error, What happens if a function has no return statement?, It cannot run., It always returns 0., It returns None., It returns an empty string., Which of the following is a function call?, def square(x):, square(), return square, x = square, Why do programmers use functions?, To make programs slower, To replace variables, To create errors, To repeat code without rewriting it, How many times can a function be called?, one, twice, three, As many times as needed
0%
Functions
Подели
Подели
аутор
Rymkemcha
Уреди садржај
Одштампај
Угради
Више
Задатке
Табела
Прикажи више
Прикажи мање
Ова табела је тренутно приватна. Кликните на
Подели
да бисте је објавили.
Приступ табели је онемогућио власник средства.
Ова табела је онемогућена пошто Вам се подешавања разликују од подешавања власника средства.
Врати подешавања
Квиз
је отворени шаблон. Он не генерише резултате за табелу рангирања.
Пријава је обавезна
Визуелни стил
Фонтове
Потребна је претплата
Поставке
Промени шаблон
Прикажи све
Отворени резултати
Копирај везу
QР кôд
Избриши
Врати аутоматски сачувано:
?