Sign in

Machine Learning Engineer
Python Programming Tutorial — Dictionaries

This is a continuation of the Python Programming Tutorial series for beginners. Previously, I’ve posted articles on Python Programming Introduction, Python Programming Data Types Introduction, Python Programming Built-in Methods, Python Programming Tutorials- Numbers, Python Programming Tutorial- Lists, and Python Programming Tutorial — Strings. You can find extra practice questions on this blog Python Programming Tutorial Practice Exercises.

1. What is a Python dictionary? How does it work?

Python Dictionary objects are data types that are enclosed in curly braces ‘{}’ and have key and value pairs and each pair is separate by a comma.

Dictionary is mapped. Meaning since it has key and value pair, a meaningful key can save…


Python String Data Type

This is continuation of tutorial series for Python programming. Previously I wrote an article in Python lists. This article is written in a question and answer format. “How to..”, “What is..” themed questions that often appear in the internet. Hence, I’ll answers few questions introducing several strings methods.

1. What are Python Strings?

Strings or Text are a basic components of any data structures. In Python, strings are any values that are enclosed in single(”) or double quotes(“”).

# Assigning strings to variables
current_country = "Finland"
native_country = 'Nepal"
print(type(current_country))#Multi-line commentspersonal_info = """ I am Nibesh Khadka. I am from Nepal.Currently …


Python Lists-Practce

This article on lists in Python is the continuation of a tutorial series on the Python programming language for beginners. This tutorial is all about lists. I wrote a previous article about Python numbers. You can also find a full list of exercises here.

Intro

List is one of the built-in data types that’s meant to store data in sequence or collection.

Some features that make list a repeated object in your codes are:

  1. It preserves the order of data stored.
  2. Easy to manipulate. Comes with many methods as we’ll see later.
  3. They are mutable since they can be changed.

Creating a List

A…


Be Happy With Python Built-in’s

Python programming language comes with many builtin methods that can be life saviors for coders. Today I am writing this blog on some of those promptly used methods

1. Help

Help method provides information of methods that that is passed through it. The porper syntax to use help is : help(name_of_method).

help(print)<<Output>>Help on built-in function print in module builtins:print(...)print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)Prints the values to a stream, or to sys.stdout by default.Optional keyword arguments:file:  a file-like object (stream); defaults to the current sys.stdout.sep:   string inserted between values, default a space.end…


Photo by Chris Ried on Unsplash

Python programming language consists of a module. A module is a fancy name for a set of instructions. Since it’s an instruction, a module is some combination of statements, expressions, and objects. This article is next in a series of Python programming tutorials, after Python Installation.

Built-in Data Types

Built-in data types are data types that come with the language, where the values and types are pre-defined. Don’t get overwhelmed, there’s rarely a scenario where there’s a need for one. Built-in data types cover a wide array of data types. They are easy to write since they are predefined and therefore also efficient.


Visual Studio code is one the most popular IDE for developers. A screenshot of PYPL Index for VS code is as following for US.

PYPL IDE Index

The graph contains only IDE’s that are common among python developers, but they are not the only ones the list.

VS code can be downloaded from this link https://code.visualstudio.com/download.

Important Setup For Python

After the installation, there are few things that are required to setup if you want to use python in VS code.

Python Extension

  1. Open Visual studio
  2. Click extension button of your left
  3. Type “Python”, you will see python extension on the top among…


This is part II in python tutorial series. Part I is the introduction to python. In this series I am writing installation and set-up instructions for different operating system (OS) before we head-out on our journey.

Linux OS (Ubuntu 20)

Installation

Python is pre-installed in Linux operating systems. Check version in your terminal.

  1. Open terminal by pressing windows key then type cmd
  2. enter command
python -V<output>
Python 3.8.5

It means I have python 3.8.5 version installed. By the time I am writing this blog stable version of python 3.9.4 is installed.

The meaning behind three numbers you saw in versions are for instance, 3.9.4…


Many of us argue on whether should we enroll in college to study software engineering or just take a couple months course online. Keep in mind I am talking about only computer engineering, not something as critical such as medical field. Also, I am also a big supporter of “DO YOU!” principle.

I have had privilege of studding IT engineering as Web Development main focus in Finland. So, I would like to share few pointers on curriculum.

Here are the curriculum:

  1. First Year:
  • Basics of Mathematics and Physics
  • Introduction to Programming and Software Development (In our case it was Java)


Hi! thank you for your time. I am just a commoner, struggler, dreamer like you. Just like you I also get curious about lots of things. Every phony in social media makes me feel bad about my life. Everyday I plan to be best and then I forget my promise after I mindlessly browse through my phone. And when the day ends I feel so guilty. That’s right my friend u ain’t the only one.

Hence, I have chowed down through lots of books and articles, of course I have applied a lot of them in my own life and…


Understand common terms in ML.

Well hello there, today I am trying define common terms in machine learning. Its a rudimentary, novice level so please skip if you don’t fit in.

What is Machine Learning?

Machine learning(ML) is a field of Artificial Intelligence(AI), that is concerned with teaching machine to learn to perform a specific task.

How do Machine’s Learn?

Keep in mind that Machine means an mathematical algorithm or a computer system not terminator.

Have u ever heard a term “History repeats itself!”. Well its true, there is a pattern on how things happen around us. With a accurate problem definition and relevant data we can use…

Nibesh Khadka

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store