#CLUB5050 SIZ EDUCATION | LEARN PYTHON IN JUST 50 DAYS

in Steem Infinity Zone3 years ago

20211030_182653.jpg

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.

image.png

Link

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,

image.png

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.

  1. Web and internet development
  2. Game development
  3. Scientific and numeric computing
  4. Artificial intelligence and machine learning
  5. Desktop GUI
  6. Software development
  7. Business application
  8. Education and training programs
  9. Language development
  10. Operating systems
  11. Web scrapping applications
  12. Image processing and graphic design application.
  13. Data science
  14. Data visualization
  15. Audio and video applications
  16. Computer aided design(CAD) application
  17. Embedded applications
  18. Data analytics
  19. Finance applications
  20. Search engine optimisation(SEO)
  21. Console-based application
  22. Image processing application
  23. Data journalism
  24. Ethical hacking
  25. Cloud computing
  26. 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.

image.png

DAY 6-10 : BASIC CONCEPTS and OPERATION

BASIC OPERATIONS

I've mentioned some basic operations of python .

OPERATORSDESCRIPTIONEXAMPLE
=Equalx = 2
+Additiony=x +2
-Subtractiony = x -2
*Multiplicationy = x*2
/Divisiony = x/3
**Exponentialy = x**3
%Modulusy = x % 5
<less thany < x
<=less than or equal tox <= y
>Greater thany > x
>=Greater than and equals toy >=x
==Exactly equal toy ==x
!=Not equal toy != x
!NOT(y!x)
&ANDx&y
Vertical barORa(vertical bar)b
inresult true when the value is present in the objecty in x
not inresult is true if the value is not present in the object ry not in x
^XORy^x
~NOTy~x
<<zero fill left shifty<<x
>>signed right shiftx>>y
//floor divisionx//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.

image.png

Link

image.png

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.

image.png

Link

image.png

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

  1. Sequential ( by default ,execute program in sequence)
  1. Selection(used for decisions / branching , true statements are executed and is done by using comparison operators)
  1. Repetition (to repeat the a certain group of statement in the code also called looping)

image.png

Link

image.png

DAY 21-25 : FUNCTION AND MODULES

FUNCTIONS

Functions are specified to one task ,these are some important functions to remember

image.png

Link

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.

image.png

Link

image.png

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.

image.png

Link

FILES

Files are the locations on the disk where the data is stored permanently. Reading , writing and appending are the main file operations

image.png

link

image.png

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

image.png

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

  1. 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.

  1. IMMUTABLITY

It means data cannot be changed after its created .

  1. Higher Order Functions

First class functions can accept another function as a parameter and can return that functions as output or store in data

image.png

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

image.png

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

Divider 2.png

Steem Infinity Zone Team
@cryptokraze | @arie.steem | @qasimwaqar | @vvarishayy | @suboohi

Footer.png

Click Here to Join Official SIZ Discord Channel

Discord
Twitter
Facebook

Divider 2.png

Sort:  
 3 years ago 

Congratulations you have been selected in the best picks of 3rd nevember.

#club5050

 3 years ago 

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

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.027
BTC 59944.92
ETH 2307.28
USDT 1.00
SBD 2.48