Чему равен индекс символа "x" в строке: "Roxette"

Python (basics)

Quiz
•
Information Technology (IT)
•
1st Grade
•
Easy
Николай Прилуцкий
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3
0
1
2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Чему будет равна переменная text3:
text1 = "September"
text2 = "October"
text3 = text1 + text2
Ничему, складывать строки нельзя.
"SeptemberOctober"
"September+October"
"September"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как добавить элемент в список ?
Это невозможно, список - неизменяемый объект.
С помощью метода append()
С помощью метода add()
С помощью операции сложения +=
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что будет напечатано на экране после выполнения данного кода:
text = "abcd"
for i in text:
print(i)
a
b
c
d
0
1
2
3
1
2
3
4
t
e
x
t
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как напечатать второй символ "n" из строки:
text = "Universe"
text["n"]
text(2)
universe[2]
text[1]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как узнать длину списка?
my_list = ["Nik", "Elena", "Mikhail"]
Использовать метод .length()
Вызвать функцию len(my_list)
Это невозможно, т.к. список содержит строки.
Попытаться вызвать список как функцию.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Чему будет равна переменная x:
my_list = [12, 8, 93, 15]
x = max(my_list)
4
Функция max() не применима к спискам
93
8
Create a free account and access millions of resources
Similar Resources on Quizizz
9 questions
Увлекательный мир Python

Quiz
•
6th Grade - University
10 questions
Цикл for

Quiz
•
University
10 questions
Интерфейс приложения

Quiz
•
10th Grade
8 questions
Задание 15 ЕГЭ

Quiz
•
12th Grade
16 questions
Тест по программированию на Python

Quiz
•
10th Grade
15 questions
Функции. Анонимные функции. Декораторы

Quiz
•
9th - 12th Grade
12 questions
Тест з теми 'Списки – змінювані послідовності'

Quiz
•
7th Grade - University
10 questions
Типы данных. Переменные. Операции в Java

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
American Flag

Quiz
•
1st - 2nd Grade
10 questions
Identifying equations

Quiz
•
KG - University
25 questions
2.4A Add Subtract within 20 quickly: set 3

Quiz
•
1st - 3rd Grade
15 questions
Music 2016

Quiz
•
KG - 12th Grade
12 questions
Summer Trivia

Quiz
•
1st - 5th Grade
44 questions
logos

Quiz
•
KG - University
20 questions
Guess that Disney

Quiz
•
KG - 5th Grade
20 questions
Cartoon Characters!

Quiz
•
KG - 5th Grade