1. Is the correct term 'Statements' in Python?


    The word 'statements' in the context of Python typically refers to instructions that Python can execute. A Python program is made up of a sequence of these statements. Here are a few examples of Python statements:

    • Assignment Statement: Used to assign values to variables.
    x = 5 # assigns the value 5 to the variable x
    • Conditional Statements: Used to perform different actions based on different conditions (e.g., if, elif, else).
    if x > 0: # if-statement checks if x is greater than 0 print("x is positive")
    • Loop Statements: Used to repeat a block of code multiple times (e.g., for, while).
    for i in range(5): # loop statement that iterates over the range 5 times print(i)
    • Import Statement: Used to include external code modules into a Python script.
    import pulumi_aws # import statement to include pulumi's AWS library

    In the context of Pulumi and cloud programming, 'Statements' could also refer to AWS Redshift SQL statements, Oracle Cloud Infrastructure's DataFlow statements or other types of "statement" resources in different cloud providers. These are used to execute operations or queries, just as you might in a traditional structured query language (SQL) setting.