mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
work
This commit is contained in:
+4
-2
@@ -1,12 +1,14 @@
|
||||
from contextlib import redirect_stdout
|
||||
import io
|
||||
import string
|
||||
|
||||
|
||||
while True:
|
||||
with redirect_stdout(io.StringIO()) as f:
|
||||
a = input('rgsert')
|
||||
a = input()
|
||||
print(a)
|
||||
res = f.getvalue()
|
||||
res = ''.join([x for x in res if x in string.printable])
|
||||
print('-'*len(res))
|
||||
print(res.replace('\n', ''))
|
||||
print(res.strip('\n'))
|
||||
print('-'*len(res))
|
||||
|
||||
Reference in New Issue
Block a user