I need to add an integer on to the end of a list. One constraint for the problem I'm solving is that I can't use any methods, so I can't use .append().
I've tried using
list = []
list += someInt
but that returns
TypeError: 'int' object is not iterable
Any help would be much appreciated!