Vtome.ru - электронная библиотека

Kids can code, Elders also can: Create a simple game using Python

  • Добавил: literator
  • Дата: 7-02-2021, 21:55
  • Комментариев: 0
Kids can code, Elders also can: Create a simple game using PythonНазвание: Kids can code, Elders also can: Create a simple game using Python
Автор: Premarajan M.K.
Издательство: Amazon.com Services LLC
Год: 2021
Страниц: 98
Язык: английский
Формат: pdf, azw3, epub
Размер: 13.6 MB

This book inspires you to create your first ever game using Python. A step-by-step method to create a simple game is illustrated in this book. Screenshots of the input, Python code and output have been provided for each step. The target audience is age groups from 10 to 100.

A 'function' is a block of code that carries out a specific function. It is reusable. It starts with a key word 'def; followed by the function name and parentheses and the line ends with a colon. Parentheses may contain one or more parameters or none. The body of the function follows as indented line/lines. A function is useful in carrying out actions which are repetitive in nature. Apart from the user defined functions, Python has many built-in functions, e.g., ’print()’, ‘input()’ etc.

When you invoke a function, it is executed at that point and after execution it returns to the statement just after the point of invocation.
You cannot invoke a function which is not known to the program at that time. We have not used any parameterized functions in our program. If you use a parameterized function, you have to give the value/values at the time of invocation. Not giving as many numbers of values as defined, will lead to error. If no parameter is defined and yet you give a parameter at the time of invocation, it will lead to error.

Скачать Kids can code, Elders also can: Create a simple game using Python












ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!


ПРАВООБЛАДАТЕЛЯМ


СООБЩИТЬ ОБ ОШИБКЕ ИЛИ НЕ РАБОЧЕЙ ССЫЛКЕ



Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.