0
What is the output and how it output come?
def f(): print('f') class C: print('c') def __init__(self):print('i') def m(self): print('m') f() C().m()
1 Answer
0
Если в строке class C: начать print('с') с новой строки то получится:
c
f
i
m
А если в одну строку, как у тебя то ошибка Indentation Error:
https://code.sololearn.com/cmfMmUkpju1S/?ref=app