#Python

Python 101 — Lesson 7 — Basic Operations

In this post, we will focus on the following operations: Addition Subtraction Multiplication Division Exponential Modulo Repeating something ten times These operations are mathematical operations, and thus are done with numbers. However, some of them can also be done with strings. Addition: It is done exactly like it is one in arithmetic. Click on repl.it,… Continue reading Python 101 — Lesson 7 — Basic Operations

#Python

Python 101 — Lesson 6 — String Formatting

In this lesson, we will focus on the following: Taking input from the user Saving the input from the user to a variable Printing out that variable Various useful string operations like len(string), string.uppercase(), etc Concatenation, replication, split, string, formatting Can strings be converted to int or float? String slicing is also another way to… Continue reading Python 101 — Lesson 6 — String Formatting

#Python

Python 101 — Lesson 3 — Some Basic Concepts in Programming

Once one of my friends asked if she could get into programming; if she needed a math background. She thought only "mathy" people can become programmers! It's not only my friend but many people have ideas that to be a programmer you need to have a background in such fields like Physics or Mathematics. This is… Continue reading Python 101 — Lesson 3 — Some Basic Concepts in Programming

#Python

Python 101 — Python Versions and Installing Python Package

Currently there are two versions of Python -- Python 2.7 and Python 3.5 (a much stable version. Version 3.6 has also come out recently). Python users often times refer to them as Python 2 or Python 3. Both the versions are quite similar with some minor differences. However, it is always a good idea to… Continue reading Python 101 — Python Versions and Installing Python Package

#Python · Uncategorized

Python 101 — Atom.io and Python Installation

This installment assumes no prior knowledge of Python as a beginner.  It has no code as it is simply meant to help you install Python on your computer.  The purpose of this setup helps you do three things very reliably while you work on the exercises: Write exercises using the Atom text editor. Run the exercises you wrote. Fix… Continue reading Python 101 — Atom.io and Python Installation