#CLUB5050 SIZ EDUCATION | LEARN PYTHON IN JUST 50 DAYS
Assalamualikum, hope and pray you're doing good.
If you are studying software engineering or aiming to become software engineer and having trouble learning python or don't know how to start learning python then this post will help and guide you to learn python in just 50 days. I'll also mention some best websites from where you can take help.
But before starting , I want to tell you how you should learn and practice.
How you should learn and practice?
I know beginners are very excited and wants to learn python as quickly as they can but this isn't the way . You should have patience . Honestly, programming is hard if you don't have patience. Sometimes you will have bugs ,errors or difficult problems ,sometimes you will spend hours looking for the error in your code that's just a typo ,it will be frustrating but you need to be patient because you will learn from these mistakes. To become a rockstar programmer in python you need to master impatience , frustration & distractions . You can take help from external sources to solve problems but don't I repeat don't be dependent on them.
One more question that's asked by almost every learner is ,
How many hours one should spend a day to learn python?
In my opinion , your focus and dedication is what matters . If you practice 12 hours a day and loss focus in between you'll get frustrated and may get tired of coding . On the other hand if you spend 5 to 6 hours coding with focus and dedication, you'll get comfortable with python core parts and your critical thinking will be developed
Let's start,
DAY 1-5 : PYTHON PROGRAMMING and it's APPLICATIONS
Before learning python you need to know about it.
PYTHON:
Python is the most popular and considered easiest programming language. It is an object oriented ,open-source, highlevel , general-purpose programming language . Its easier for human to to write and understand,thats why its used to build websites, softwares and is still used in many applications. It has a massive collectionof user-friendly libraries which makes it easy to access for automotive repetitive tasks. Python simple syntax is in English which makes it easy for users all over the world to understand.
20+ APPLICATIONS:
You need to know the applications of python in case you get stuck in one field and want to kick-start your programming career . There are a number of applications with a big support network and a wide range of libraries that can help.
- Web and internet development
- Game development
- Scientific and numeric computing
- Artificial intelligence and machine learning
- Desktop GUI
- Software development
- Business application
- Education and training programs
- Language development
- Operating systems
- Web scrapping applications
- Image processing and graphic design application.
- Data science
- Data visualization
- Audio and video applications
- Computer aided design(CAD) application
- Embedded applications
- Data analytics
- Finance applications
- Search engine optimisation(SEO)
- Console-based application
- Image processing application
- Data journalism
- Ethical hacking
- Cloud computing
- Cryptography
From all the applications mentioned above its crystal clear that python is able to fulfill almost any development requirement . It is advance and desirable skills that is required across all sort of industries.
DAY 6-10 : BASIC CONCEPTS and OPERATION
BASIC OPERATIONS
I've mentioned some basic operations of python .
OPERATORS | DESCRIPTION | EXAMPLE |
---|---|---|
= | Equal | x = 2 |
+ | Addition | y=x +2 |
- | Subtraction | y = x -2 |
* | Multiplication | y = x*2 |
/ | Division | y = x/3 |
** | Exponential | y = x**3 |
% | Modulus | y = x % 5 |
< | less than | y < x |
<= | less than or equal to | x <= y |
> | Greater than | y > x |
>= | Greater than and equals to | y >=x |
== | Exactly equal to | y ==x |
!= | Not equal to | y != x |
! | NOT | (y!x) |
& | AND | x&y |
Vertical bar | OR | a(vertical bar)b |
in | result true when the value is present in the object | y in x |
not in | result is true if the value is not present in the object r | y not in x |
^ | XOR | y^x |
~ | NOT | y~x |
<< | zero fill left shift | y<<x |
>> | signed right shift | x>>y |
// | floor division | x//y |
BASIC CONCEPTS
Variables are created using "=" equal operator
Variables are case sensitive ,it means python differentiate between uppercase and lowercase letters.
Data-type of variable is determined by the type of data stored in the variable types of data are classified in five main types ie. numbers, string, list, tuple and dictionary.
To get value of variables use print function (eg. print(x) ).
Python doesn't have mandatory characters.
If you want to add comment use "#" in the line
Variables created starts with upper or lower case charachter or "_".
Clear your basic concepts so that you can avoid common errors in the code.
DAY 11-15 : STRING AND VARIABLE
In python string and variables are two different things. Variable is a reserved memory location where value is being stored so that computer can process python program where as string is a value representing text . Strings are created by using (" ") which shows that the text in closed is value not a code.
DAY 16-20: CONTROL STRUCTURE
You need to learn and practice control structures of python.
CONTROL STRUCTURE
Basically control structure is a decision making process which analyses the order of programs code execution on the basis of values and logic and to determine how the program will respond when given certain conditional statements, loops ,parameters and function calls.
There are three types of control flow
- Sequential ( by default ,execute program in sequence)
- Selection(used for decisions / branching , true statements are executed and is done by using comparison operators)
- Repetition (to repeat the a certain group of statement in the code also called looping)
DAY 21-25 : FUNCTION AND MODULES
FUNCTIONS
Functions are specified to one task ,these are some important functions to remember
MODULES
Modules are files that has classes, functions and attributes a. These are also user-defined i.i.you can create a module save it and can be imported in another code.
DAY 26-30: EXCEPTION and FILES
EXCEPTION
Mistakes while writing a program that produces error when the code runs is called error. Exceptions are used to control these errors usually exception appears as an error message when the code runs.
FILES
Files are the locations on the disk where the data is stored permanently. Reading , writing and appending are the main file operations
DAY 31-35 : MORE TYPES
Try to learn more types in python ,it can help you to design your project better. You can skip this part if you're not into coding yet . I've mentioned some new types for those who want to learn.
type hints
Annotating variables
Literal types
Typed dictionaries
Final objects
Protocols
Function annotations
Fundamentals
DAY 36-40 : FUNCTIONAL PROGRAMMING
Its important to be familiar with functional programming. It is a program consist of pure function that are linked with computer mathematics. As its easy to write code in python ,it'll be easy to find the solution of tasks at hand. Some important feature of FP are
- PURE FUNCTIONS
To create a pure function don't change the value of variables so that it'll produce same output every time you run the code.
- IMMUTABLITY
It means data cannot be changed after its created .
- Higher Order Functions
First class functions can accept another function as a parameter and can return that functions as output or store in data
DAY 41-45 : OOPS
Object oriented programming is a fundamental part of software programming. It's a huge topic and easy to understand ,if you learn OOP wisely trust me your style of coding would change and can effectively solve the problems in your code . I can't tell you about the whole OOP but I'll mention the link from which i learned and practiced.
Major concepts that you need to clear are,
1.Object and object instantiation
2.Class methods
3.Inheritance in Python Class
4.Encapsulation
5.Polymorphism
6.Data abstraction
DAY 46-50 : REVISE AND TRY TO MAKE PROGRAMS
Make notes and revise them daily. Start making your programs and try to practice coding often. These are the list of some games that you would enjoy coding and will increase your critical thinking
Tic tac toe
Hangman
Dot and boxes
Flappy bird
Snake game
Link to learn python in detail
Link of exercises to pratice
For OOP
ACHEIVMENT 1 POST
THANK YOU SO MUCH FOR VISITING MY POST
Special thanks to
@vvarishayy
@siz-official
#club5050
#steemit
@cryptokraze | @arie.steem | @qasimwaqar | @vvarishayy | @suboohi
Congratulations you have been selected in the best picks of 3rd nevember.
#club5050
Good post dear friend you make a very good post but i advise you please make a justify your text because then your post is more valuable and attractive to see for everyone.
Regards and, Faran Nabeel