2021.4.1 #11
@ -165,7 +165,7 @@ class Console:
|
|||||||
@classmethod
|
@classmethod
|
||||||
def read(cls, output: str = None) -> str:
|
def read(cls, output: str = None) -> str:
|
||||||
if output is not None and not cls._hold_back:
|
if output is not None and not cls._hold_back:
|
||||||
cls.write(output)
|
cls.write_line(output)
|
||||||
|
|
||||||
return input()[0]
|
return input()[0]
|
||||||
|
|
||||||
@ -177,6 +177,8 @@ class Console:
|
|||||||
if output is not None:
|
if output is not None:
|
||||||
cls.write_line(output)
|
cls.write_line(output)
|
||||||
|
|
||||||
|
cls._output('\n', end='')
|
||||||
|
|
||||||
return input()
|
return input()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user