Next you need to learn the fundamental statements, logical, relational and arithmetic operators, and array indexing
If elseif else, for loop, while loop (including do-while loop if supported by the language), and switch-cases. By understanding the concept and logic of each of them, you will be able to know how, why, and when you will be using each statement in your code.
These statements will constitute a huge portion of any code that you will be writing, so it’s important to have a good understanding of how they work.
While learning how to use these statements, you will definitely need to learn the basics of conditional operators, as all the statements, except switch-cases, work depending on a logical condition being satisfied or not. The main logical operators are AND (&&), OR (||) and NOT (!) (note that the logical operators syntax I wrote are for Java, C++ and C#, for instance, but are not necessarily the same for other languages). In addition to logical operators, relational operators will also be handy for creating conditions. For example, you might want to check equality (==), greater than (>), less than (<), greater than or equal (>=), less than or equal (<=) and inequality (!=).
For some simple mathematical operations in your code, these are the basic arithmetic operators that you will need: addition (+), subtraction (–), division (/), multiplication (*), and modulus (%).
Array indexing is the technique used to access elements of an array (works the same for lists, tuples, and dictionaries in Python). It is very important to understand how it works, and it’s going to be very useful when using loops.