An attempt to Write Yourself a Git

So I tried to follow wyag at here but I was not able to. This tutorial is great but I was not able follow it because may be I am not still not much clear with python and how it works. So after much thought I have decided that I would try to create my own blog post series where I would take learnings from wyag and try to do it in my way.

Learning python through pym 14-08-2019

Day 4 PS: These are notes, there could be grammar error and spelling errors. for loops For loop over a list goes as follows: 1 2 3 4 5 6 7 8 >>> a = ['Fedora', 'is', 'powerful'] >>> for x in a: ... print(x) ... # these ... are automatically created by python interpreter Fedora is powerful range() function range function creates lists based on parameter passed in function``py

Learning python through pym 13-08-2019

Day 3 PS: These are notes, there could be grammar error and spelling errors. Last time we were just starting with If else, the control flow, if-else , the control flow Control flow is used when we need to do some decisive task if, if else, if elif else statement If statement is simple as it is other language 1 2 if expression: do this 1 2 3 4 if expression: do this else: do this 1 2 3 4 5 6 if expression: do this elif expression: do this else: do this Things to note:

Learning python through pym 12-08-2019

Day 2 PS: These are notes, there could be grammar error and spelling errors. Last time had got until here, We don’t need specify data type with python something similar to javascript where we use var for every type of variable.(const and let are new ES6 standards, although they are not new but new) So basically 1 2 3 a = 10 b = 1.0 c = "test" in above a become integer, b becomes float and c becomes string.

Learning python through pym 10-08-2019

Day 1 Installing python one can install python using package manager depending upon the operating system you are using. As I have a windows machine and ubuntu using linux on windows subsystem. I can install python from https://python.org. And Ubuntu I can use below command to install python. 1 sudo apt-get install python3 Running python To run python you would call python3 which open Python interpreter. On that you can type print(“Hello World”) to run your first python code which would print Hello World in next line.