Richard Saunders
So on my 4th post, I wanted to try something different. I know that Python is a highly sought after coding language, but I've always had a hard time learning the fundamentals of it. Thanks to the help of Chat GPT, I could have my own AI tutor.
Variables and Data Types
Here, it shows me the basics of creating a variable. Variables can be used to store information such as an integer or a string.
With this code example, we can create a simple variable. I'm not a senior developer by any means, but I can see variables being useful for more complex applications in the near future.
Operators
Operators are used to create operators on variables and values. So it can be used for math and determining logistics. Very cool.
Conditional Statements
If and Else statements are the most confusing concept for me. But from Chat GPT, its sort of a call and response system. If, elifs, and else are the calls. The print() is the response from each of them.
Loops
Loops are an interesting concept. However, they must be created in a way so that the loop comes to an end. If not, the loop will continue to occur until the system crashes.