Friday, July 16, 2021

Python 101: Operators

 An operator in a programming language is a symbol that tells the compiler or interpreter to perform specific mathematical, relational or logical operation and produce final result. 

Python 101: Import

 Once you start to advance in python import would begin to appear in your codes a lot. If not for anything else, but to link different pages (modules).

Python has two types of modules:

Built in and User defined.

Built-in modules

This are the modules that come by default with the python software. 

User defined modules

This are basically created by the programmer


Python 101: Input/Output

In programming (or life generally), communication involves you being able to send and receive messages.
Programming has now made this possible by introducing I/O to every program.
I/I is the part of the program that allows you to print out messages on a screen, like the hello world program we ran, and receive input from the users.
In python, the two main I/O functions are print() and input().

Type conversion

 Type conversion is basically changing one data type to another. They are two types of conversion in python (and almost all other languagues) , they are:

1. implicit type conversion

2. explicit type conversion

Wednesday, July 14, 2021

Python 101: Data Types

Data Types are kinds of data which tell the compiler or interpreter the kind of inputs a variable can accept.

Python 101: Variables

 Variables should not be new to you.

It is like a container for storing data.

An example is:

amount = 3

Here amount is a variable which was declared and 3 is an integer (data type) which is currently held in amount.

Since amount is not a constant, it can easily be changed.

What is a constant?

Isn't it obvious, but we would look into it later.

Python 101: Debug and Run

 The python program is a high level language, this simply means that the computer does not understand what you have written.

In order to successfully run your program, you need to change it to a language the computer can understand.

Pycharm has made this very easy. All you have to do is click the run tab and a screen will pop up with your result (which in this case is 'hello world')




Python 101: Hello World

 Hello world has officially become the first program you run when learning a language newly.

No matter what language you are learning it always involves the same techniques:
-skeleton of the language
-print function of the language

Print in computer programming is basically a code use to display a text to the screen. Whether it's cout, print etc. They all carry out the same function.

Python 101: The Setup

 In order to run a language, certain softwares are needed. From text editors, to compilers, and so forth.

Python isn't any different.
If you want to successfully run a python code, you need to install a text editor or IDE with the python compiler.

Python 101: Introduction

 Whether you are new to programming, or you've been in the game for a long time, python is one programming language I'm 100% sure you have heard about.

You may be wondering why I'm so sure about this. 
Well, aside the fact that python is easy to learn and understand.
It is a multipurpose language and the demand for it is high.

So, whether it's just for knowledge sake, or it's for a job, python is the best language to learn.

Welcome

  Hey guys. welcome to my blog. Basically, this blog is supposed to introduce you to the world of programming.

This month I'm going to run a recreation series. Basically, all I do is get a site and recreate it. 

Don't forget to tune in as frequently as possible to get the latest updates.

If you have any site you'd like to see me recreate please leave the link in the comments below.

HTML 101: Form

  I believe that everyone who has made use of the internet knows what a form is but in case you don't know, a form is a way of receiving...