0
Why doesn't is work?
https://code.sololearn.com/cjmxOIf4T2j0/?ref=app It's a simulation but console . ReadLine don't work?
1 Réponse
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);
# }
#}