create a variable python 1

create a variable python

x = 12

Here is what the above code is Doing:
1. We’re creating a variable called x and assigning it the value of 12.
2. We’re creating a variable called y and assigning it the value of x.
3. We’re creating a variable called z and assigning it the value of x.
4. We’re creating a variable called x and assigning it the value of 24.

So, what’s the value of x?

The answer is 24.

What’s the value of y?

The answer is 12.

What’s the value of z?

The answer is 12.

Similar Posts