Want to level up your career and gain more freedom? Say goodbye to limitations and embrace new income opportunities! Ready to unlock the power of Python?Overcome the challenge and master this in-demand programming language! Discover the game-changer in the tech industry: a versatile and beginner-friendly programming language that opens doors to endless possibilities.
Author(s): Mark Gowen
Publisher: Independently published
Year: 2023
Language: English
Pages: 166
INTRODUCTION
Chapter 1- STARTING WITH PYTHON
Setting up
Installing Python in Windows
Python on different operating systems
Installing Python on MacOS
Installing Python in Ubuntu Linux
Installing Python on Android
VARIABLES AND SIMPLE DATA TYPES
Variables
Strings
Numbers
Chapter 3- INTRODUCING LISTS
What is a list
How to create a list
Organizing a list
Changing, adding, and removing elements
Exercise
Chapter 4- WORKING WITH LISTS
Looping
Tuples
Making numerical lists
IF STATEMENT
Conditional tests
If statements
Using IF with lists
Exercise
DICTIONARIES
Working with dictionary
Exercise
INPUT AND WHILE LOOPS
How Input works
Exercise
Introduction While Loops
Exercise
FUNCTIONS
Definition
Exercise
Classes
How to create and use classes
Creation of a class
Exercise
Solution
FILES AND EXCEPTIONS
Reading
Writing into a file
Appending a file
Exercise
Exception - how to use it
Try and except the statement
Raising exception
Security risks
Exercise
TESTING YOUR CODE
Unit tests
Integration tests
MAKE THE FIRST PROJECT
REFERENCES