Sunday, 13 September 2020

Part One: Conclusion

If you have made it this far, CONGRATULATIONS. You have learned a lot and on your way to becoming a programmer with Python 3. You have also learned enough to consider looking at other programming languages as well.

Here is a summary of what was learned so far:

You can now install Python 3 and an IDE of your choice to write and execute your codes.

You know what strings are and that they are enclosed in quotation marks (double or single). You know what the different types of numbers are; that is integers (int) and floating-point (float).

You know how to comment out parts of your code so it does not execute with the # key.

You know what variables are and how they are used to store a string or a number.

You can now use the built-in function input() to accept inputs from a user as strings, integers or floats. 

You can now also use the built-in function print() to display results of your code. You can print strings and/or numbers and you can also use the f’string technique.

You can add methods to your string by using the dot to make your strings lower case, upper case etc.

You can also use arithmetic manipulation on numbers to add, subtract, multiply etc.

You have also written a few programs to do some tasks like kilometre to miles conversion, calculate the area of a square, etc.

If required you can go back and review the lessons discussed earlier and you could also watch the videos again.

In Part Two we would learn about collections and flow control.

 

No comments:

Post a Comment