0

Why doesn't is work?

https://code.sololearn.com/cjmxOIf4T2j0/?ref=app It's a simulation but console . ReadLine don't work?

28th Jan 2020, 1:02 PM
Kirui-kun
Kirui-kun - avatar
1 ответ
0
😱 It's a 1 year old unanswered question. But I want to answer it You need to just change line 16 and 31, returning input and concating with writeline class using: def system(): class Console: def WriteLine(s): print(s) def ReadLine(): str(input()) class Console: def WriteLine(s): print(s) def ReadLine(): return input() using.system; using.system(); #class program{ #public static void main(str [] args){ Console.WriteLine("Hello world"); i =Console.ReadLine(); Console.WriteLine("You entered:"+i); # } #}
28th Mar 2021, 4:05 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar