Learning python through pym 14-08-2019
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
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
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.
| |
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.