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()

22nd Jun 2020, 5:10 PM
Vikas Mishra
Vikas Mishra - avatar
1 Answer
0
Если в строке class C: начать print('с') с новой строки то получится: c f i m А если в одну строку, как у тебя то ошибка Indentation Error: https://code.sololearn.com/cmfMmUkpju1S/?ref=app
22nd Jun 2020, 7:42 PM
Lobzov Alexey
Lobzov Alexey - avatar