Part1- Python Fundamentals | Start from the basics
1. Introduction
You must have heard the term IPO-Input, Process, Output. Most (in fact, nearly all) daily life and computer actions are governed by IPO cycle. That is, there is certain Input, certain kind of Processing and an Output.
Do you know that programs make IPO cycle happen?
A program is a set of instructions that govern the processing. In other words, a program forms the base for processing.
Here, we shall be talking about all basic elements that a Python program can contain. You'll be learning about Python's basics like character set, tokens, expressions, statements, simple input and output etc.
2. Python Character Set
Character set is a set of valid characters that a language can recognise. A character represents any letter, digit or any other symbol. Python supports Unicode encoding standard. It means that Python has following character set:
- Letters: A-Z, a-z
- Digits: 0-9
- Special Characters: space + - * / ( ) { } [ ] // = != == . ' " ''' , ; : % !
- White Spaces: Blank spaces, tabs(↹), carriage return(↵), new line, form feed
- Other Characters: Python can process all ASCII & UNICODE characters as part of data or literals.
- Python has following tokens:-
- Keywords
- Identifiers
- Literals
- Operators
- Punctuators
No comments