New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

24_7 Ветвление + работа с файлом

Froggy Jumps

Played 248 %Accuracy 92 Average time 03:41

About this activity

Python

Created by

Kazakhstan

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
24_7 Ветвление + работа с файлом
 

Froggy Jumps

24_7 Ветвление + работа с файломOnline version

Python

by Ok Sana
1

a = 10; print(a > 5)

2

a = 2 ** 3; print(a >= 8)

3

a = 2 ** 3; print(a)

4

a = 4 // 2; print(a)

5

a = 4 % 2; print(a)

6

a = 4 % 2; print(a != 0)

7

a = 2; print(a < 0 and a > 1)

8

a = 2; print(a < 0 or a > 1)

9

a = 2; print(not a == 2)

10

a = 21; print(a % 5)

11

Вывод данных на экран

12

Ввод данных с клавиатуры

13

Функция открытия файла

14

Функция записи в файл

15

Режим функции open() для записи данных в файл

16

Режим функции open() для добавления данных в файл

17

Режим функции open() для работы с текстовым файлом

18

Режим функции open() для работы с бинарным файлом

19

Режим функции open() и для записи и для чтения данных

20

f = open('sss.txt', 'w') Укажите название файла

21

f = open('sss.txt', 'w') Укажите режим open()

22

file = open('load.txt', 'w') Укажите название файла

23

Укажите название файла

24

Укажите режим open()

25

Укажите? что записано в файл

Are you sure you want to leave the page?

If you leave, you will lose the game in progress.