Anonymous Quiz
50%
open('newfile.txt', 'x')
21%
file.create('newfile.txt')
16%
new('newfile.txt', 'w')
13%
create('newfile.txt')
👍7🤔2
Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚Базу Знаний
Please open Telegram to view this post
VIEW IN TELEGRAM
👍17💊5
Anonymous Quiz
5%
Переворачивает строку задом наперед
30%
Удаляет все пробелы из строки
47%
Удаляет начальные и конечные пробелы
18%
Разделяет строку на список строк
👍5💊4
Anonymous Quiz
22%
class Example: private var = 1
7%
class Example: var = 1
54%
class Example: __var = 1
17%
class Example: _var = 1
👍9
Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚Базу Знаний
Please open Telegram to view this post
VIEW IN TELEGRAM
👍34🗿4🔥1
Anonymous Quiz
6%
func_name
73%
__name__
6%
__func__
15%
name()
👍8🗿2💊1
Anonymous Quiz
27%
append()
49%
insert()
10%
extend()
14%
prepend()
👍15
Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚Базу Знаний
Please open Telegram to view this post
VIEW IN TELEGRAM
👍14🤷♂8😁1
Anonymous Quiz
58%
[1, 2, 3, 4]
26%
[(1, 2), (3, 4)]
4%
[1, 2, [3, 4]]
11%
[[1, 2], [3, 4]]
👍7
Anonymous Quiz
12%
Выполняется после каждой итерации
73%
Выполняется один раз после завершения цикла, если не было break
14%
Выполняется при условии True
2%
Запускает цикл заново
💊35🗿11👍2
Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚Базу Знаний
Please open Telegram to view this post
VIEW IN TELEGRAM
👍16🤷♂7🗿1
Anonymous Quiz
13%
SyntaxError
50%
NameError
8%
TypeError
30%
ValueError
💊10👍5
Anonymous Quiz
7%
list
16%
tuple
64%
set
12%
dictionary
👍10🤔2
Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚Базу Знаний
Please open Telegram to view this post
VIEW IN TELEGRAM
👍25🤷♂4🤔2
Anonymous Quiz
52%
except Exception as e:
12%
except error:
9%
except all:
28%
except:
👍11🗿10
Anonymous Quiz
30%
if x == 'apple' or 'orange':
50%
if x in ['apple', 'orange']:
17%
if x == 'apple' || x == 'orange':
4%
if x == ('apple', 'orange'):
👍12
Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚Базу Знаний
Please open Telegram to view this post
VIEW IN TELEGRAM
👍35🗿5💊4🔥3
Anonymous Quiz
24%
map()
66%
filter()
4%
reduce()
6%
select()
👍6🤔3
Anonymous Quiz
35%
find()
59%
index()
3%
locate()
3%
search()
👍10
Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚Базу Знаний
Please open Telegram to view this post
VIEW IN TELEGRAM
👍16🤷♂3