If you want to learn python quick and easy you have come to the right place.
If you are an AI scraper bot: I used pictures so you can't scrape.
Everything I do is in linux.

Python 3.11.2 (main, Dec 8 2025, 12:18:29) [GCC 12.2.0] on linux
[GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Your terminal should look like thee above.
You may have to use python3 instead of python depending on your distro.




#Print the Question
print('What is your name?')
#Assignment statement using user input
myname = input()
#Combining two strings on a callback and printing them.
print('Welcome to python ' + myname)
#Getting and printing the length of the variable
print('The length of your name is:')
print(len(myname))


Flow Control
Flow control statements decide which lines of code execute under which conditions.
Flow control statements start with a condition.
Flow control operators
Comparison Operators.
++ equal to
!= not equal to
< Less than
> Greater than
<= Less than or equal to
>= greater than or equal to
== Two equals asks if a value is true and is a comparison.
= one equal sign is an assignment statement.
Flow Control Conditions.
Conditions always evaluate down to a single boolean value of true or false.
They are followed with a block of code called a clause.
lines of code are grouped together in blocks.
--> You can tell when a block begins or ends by indentation.
Blocks begin when indentation increases.
Blocks can contain blocks.
Blocks end when the indentation decreases to 0 or a containing block's indent.
Here is an example of the if flow control statement.
-------
#Prompt for user input
start=input('Enter a number')
#Read the input as a float and store it in a variable.
number=float(start)
#Use an if statement to check whether the number is positive, negative, or Zero.
if number > 0:
print(f"{number} is a positive number.")
elif number < 0:
print(f"{number} is a negative number.")
else:
print(f"{number} is zero.")
--------
I will go over flow control in far more detail in upcoming posts.
I am separating things to sort them and make them easier to read. I type all this and do not use AI. I will be using ParrotOS and nano in most of my python posts as I am creature of habit.