Строковые методы

Quiz
•
Computers
•
10th Grade
•
Medium
Луиза Асламбекова
Used 20+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что такое конкатенация строк в Python?
Процесс объединения двух или более строк в одну строку
Процесс разделения строки на подстроки
Процесс удаления символов из строки
Процесс изменения регистра символов в строке
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как получить подстроку из строки в Python?
Используйте срез строки для получения подстроки в Python.
Используйте функцию find() для получения подстроки в Python.
Используйте функцию replace() для получения подстроки в Python.
Используйте функцию split() для получения подстроки в Python.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как заменить текст в строке с помощью метода в Python?
string.modify(old, new)
string.update(old, new)
string.replace(old, new)
string.swap(old, new)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод используется для форматирования строк в Python?
Метод input()
Метод print()
Метод format()
Метод split()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что такое индексирование строк в Python?
Способ удаления символов из строки в Python
Процесс объединения строк в Python
Процесс доступа к отдельным символам в строке по их порядковому номеру.
Метод создания новых строк в Python
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как получить длину строки в Python?
length()
size()
count()
len()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как проверить наличие подстроки в строке в Python?
string_variable.index('substring') != -1
string_variable.search('substring')
string_variable.find('substring') != -1 or 'substring' in string_variable
string_variable.contains('substring')
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Символьные строки, операции со строками - С++

Quiz
•
10th Grade
10 questions
Электронные таблицы. Основные понятия.

Quiz
•
5th - 11th Grade
15 questions
Знакомство с IDLE 6 класс

Quiz
•
6th Grade - University
10 questions
Кодирование текстовых данных

Quiz
•
10th Grade
10 questions
Ввод и вывод данных. Типы данных - 6 класс

Quiz
•
10th Grade
8 questions
строки: повторение

Quiz
•
9th - 12th Grade
15 questions
Строковые величины

Quiz
•
10th Grade
10 questions
информатика 7 класс итоговый

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade