Learn Python in One Day and Learn It Well: Python for Beginners with Hands-on Project
Rate it:
Open Preview
4%
Flag icon
What is Python? Python is a widely used high-level programming language created by Guido van Rossum in the late 1980s. The language places strong emphasis on code readability and simplicity, making it possible for programmers to develop applications rapidly.
4%
Flag icon
There are a large number of high level programming languages available, such as C, C++, and Java.
4%
Flag icon
If you learn one language well, you can easily learn a new language in a fraction of the time it took you to learn the first language.
4%
Flag icon
One of the key features of Python is its simplicity, making it the ideal language for beginners to learn.
6%
Flag icon
.py extension. This file is known as a Python script.
7%
Flag icon
preassigned meanings in Python. These reserved words include words like print, input, if, while
7%
Flag icon
variable names are case sensitive. username is not the same as userName.
7%
Flag icon
= 0 has a different meaning from the = sign we learned in Math. In programming, the = sign is known as an assignment operator. It means we are assigning the value on the right side of the = sign to the variable on the left.
14%
Flag icon
The notation 2:4 is known as a slice. Whenever we use the slice notation in Python, the item at the start index is always included, but the item at the end is always excluded.
24%
Flag icon
In Python, an iterable refers to anything that can be looped over, such as a string, list, tuple or dictionary.
39%
Flag icon
'r' mode: For reading only.
39%
Flag icon
'r+' mode: For both reading and writing.
41%
Flag icon
Binary files refer to any file that contains non-text, such as image or video files.
42%
Flag icon
It is common practice to use PascalCasing when naming our classes. PascalCasing refers to the practice of capitalizing the first letter of each word, including the first word (e.g. ThisIsAClassName).
63%
Flag icon
plus sign (+) can mean addition or concatenation. For instance, if we type 2+3 the + operator adds the two numbers to give us 5. However, if we type 'Hello' + ' World' the + operator concatenates the two strings to give us 'Hello World'.