Mar-11-2017, 08:29 AM
It's not wrong.
Hello, @SandraDan. As @Scaperen showed you, to concatenate strings they must be strings. listA[i] is an integer.
print('Item no. ', (i+1), ' is: ', listA[i])
will work too. It's about routines. Hello, @SandraDan. As @Scaperen showed you, to concatenate strings they must be strings. listA[i] is an integer.