Looks like no one added any tags here yet for you.
1 = on
0 = off
1. Well-ordered and unambiguous 2. be executable 3. solve the problem at hand 4. terminate
1. Name (identifier) 2. Value 3. Location 4. Type
if age >= 18:
print("You are an adult.")
elif age < 18:
print("You are a minor.")
else:
print("Invalid age.")
for i in range(5):
print(i)
for x in range(10, 0, -1):
print(x)
else:
print(“Blast Off!”)
for X in my_List:
print (X)
don't have to define the variable before
count = 0
while count < 5: print(count)
count += 1
numbers = [1, 2, 3, 4, 5]
print(len(numbers))
1. name (identifier) 2. return type 3. parameter list 4. body
def function_name()
call this function many times using the name but with a different parameters