hello,
small question if i may :-)
try:
x=int(input())
except ValueError as var:
print(str(var.args[0]))
if i input a string like - abcd
this code prints me the full error message
invalid literal for int() with base 10: 'abcd'
while i need only the input - abcd to be printed/extracted from there
now ,except going over the string of the error message and extracting the
expresion, is there a way to just get the inputed value back?
thx for your help :)