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
Category: #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 101 — Lesson 5 — Variables.
So, today we are going to look at the following topics: Strings Integer Floats Adding strings Error when trying to add integers/strings Converting integers to strings or floats; floats to int, etc Saving variables, that is assigning them to a memory Variables are values in a programming language that can change based on the information… Continue reading Python 101 — Lesson 5 — Variables.
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 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 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
Python 101
Python is an immensely powerful language with wide applications in scientific research, machine learning, data science, backend support and many more. Charles Dandridge has already written about why we should be learning about Python. Here is the syllabus to Python 101, a very basic introduction to Python. In 2018 and later, we will be using… Continue reading Python 101
Why Python?
With so many programming options out there for the beginner coder to explore it can be overwhelming at times trying to figure out which language to start out with. Python has long been regarded as a beginner friendly language because of its high-level highly readable nature which uses English keywords and fewer syntactical structures; in… Continue reading Why Python?