Hi friends,
In the previous post under Data Science & Machine Learning, we discussed the installation process of Jupyter Notebook. In this post, we’ll walk through with Jupyter Notebook and
basic Python syntax to get refreshed with Python basics.
As already discussed in the previous post, we can open the
Jupyter notebook by typing jupyter
notebook in the command prompt. It will open a tab with Jupyter Notebook in
your browser appearing like one below:
Python Basics with Jupyter
Click on the Python 3 (or whatever Python version it is showing for you) on the tab and it'll open a blank Jupyter Notebook for you to start coding. We'll go through the following concepts to brush our Python basics in the next post:- We first see the following Data types in Python:
- Integer/Float
- String
- List
- Dictionary
- Boolean
- Tuple
- Set
- Then, we see the Conditional Statements:
- if, elif, else statements
- Next, we go over the loops:
- for loops
- while loops
- range() loops
- We'll then learn to write user defined functions in Python followed by lambda expressions, use built-in Python methods and so on.
You can also run a Jupyter cell by pressing Shift + Enter while your cursor is present in the current Jupyter Notebook cell. You can save you current Jupyter Notebook script by either Ctrl + S or by pressing Save button shown above. You can also download you current Jupyter Notebook script in various formats by following the below step:
You can learn about the Jupyter keyboard shortcuts by clicking on the Help button followed by the Keyboard Shortcuts. Now that we have learnt to work with Jupyter Notebook, we are good to go ahead with the above listed Python topics from the next post.
Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man learn Python Online Course
ReplyDelete