I will try to guess what are the hard parts to understand.
First I would recommend you learning Python from the easiest concepts. For example I think this free course is good:
The character = is used to create an assignment statement. For example:
x = 1 # assigns (binds) the number 1 to the name (variable) x
y = 1 + 2 # assigns the result of 1 + 2 (number 3) to the name y
You can also assign tuples. Tuple is an ordered collection of objects.
1, 2 # This is a tuple containing two objects: 1 and 2
x, y = 1, 2 # assigns number 1 to x, number 2 to y
Functions can return any object (including integers, strings, tuples etc.)
def function1():
return 1
x = function1() # assigns the result returned by the fucntion1
def function2():
return 1, 2
x, y = function2() # assigns the result returned by the fucntion2
# In the function2 definition we see that it returns a 2-tuple of 1 and 2.
# In the final effect x will be assigned to 1, y to 2.
In addition to the points Steven raises, the is the wrong place to ask this question. Please ask this in the Users category, and when you do so show the exact code that’s having a problem, so that other people can run it. Also include what you observe happening and what you expect to happen.