Apr-13-2017, 06:41 AM
don't use
Finally, this looks like homework and printing
eval
, use int
to convert user input. or think of different approach, that would not require conversion to int
, actually it will use that the user input is str
Finally, this looks like homework and printing
[
and ]
looks like clumsy attempt to visually achieve required result (i.e. list
)