I read parts of the documentation and tried googling, but still feel pretty in the dark on basic syntax of how to use the data structures from the typing module.
from typing import List
A = List[int]
So once I've done the above, how do I even add new elements to A? I tried A += 5, A += [5], A.append(5), A.append([5])... I usually don't try to just haphazardly explore syntax, but I can't find much information online. Is there some syntax examples or tutorial page somewhere I'm missing?
Thanks.