Your first step with Python: meet the language, install Python 3, poke around the interpreter, and get the syntax.
Learning Python
Python from zero: the shape of the language, why it reads the way it does, and where it's the right tool.
Sub-series
Create variables, then meet the types one by one, from numbers and strings to booleans and the list that keeps tripping up beginners.
Leave the interpreter and start writing real .py files, including how to take input and print output.
Make a program decide things and repeat work: branching, loops, and list comprehension.
Wrap your code in functions so you stop writing the same thing twice. Parameters, return values, and default arguments.
Dictionaries, sets, tuples, and the string methods that do the boring parts. The types you need once a program stops holding a single value.
Articles
Python Classes: the History Every Account Shared
Two accounts, and each history lists the other account's deposits. The list sat in the class body, append never writes to the object, so both accounts appended into the same one.