BMI_Calculator.py

I have been playing around with if and elif statements and created this BMI Calculator.There are a few different elements that needed implementing to get this to work properly. Firstly, the program needs variables creating that will take input from the person using the program. I have used a mixture of integers and floats. However,Continue reading “BMI_Calculator.py”

Creating ‘Rock, Paper, Scissors’ using Python

In order to create ‘Rock, Paper, Scissors’ we’re going to need to make use of the loop functions that are available in Python. Firstly, we are going to need to call upon the ‘random’ module which will allow us access to the ‘randint’ method. I will explain why this is important, a bit later. OnceContinue reading “Creating ‘Rock, Paper, Scissors’ using Python”

Creating Mad Libs using ‘F-strings’

What is F-String?An F-String is a formatting concept that allows us to call upon Python functions within strings of text. F-string stands for ‘Formatted string’.  The use of F-string is only available in Python version 3.6 and above. Previously to this, you would have had to use .format() instead. A more up to date versionContinue reading “Creating Mad Libs using ‘F-strings’”

Automating Web Browsers with Python

If you use the same tabs in a Web browser every day, it can seem menial and time consuming opening each tab individually. So, today I’m going to show you how to open all of the tabs you use with one double click. To start off with, we’re going to need to open a textContinue reading “Automating Web Browsers with Python”

Getting Started with Python in Linux

Getting started with Python in Linux There is no need to install Python on Linux as it comes preinstalled. After opening the Terminal, the first thing to do is to create a folder that will contain all of the Python files.To create a folder named Python, type ‘mkdir Python’. After creating the Directory, we areContinue reading “Getting Started with Python in Linux”

Common Coding Errors

There are some steps that you can taken to aid in the learning of a new programming language. These are some of the things I’ve come across whilst attempting to learn Python Programming. When initally learning to code, it is better to learn in small stages.As tempting as it can be to rush through videoContinue reading “Common Coding Errors”

Python: Pong Game

Over the last few weeks, I’ve been attempting to prepare myself to complete the 100 Days of Coding challenge which I will commit to later this year.I feel it is important for me to learn the basics before undertaking the challenge. Not only will this help with having some understanding, it will reduce my frustrationContinue reading “Python: Pong Game”