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”
Tag Archives: 100DaysofCode
Completed Python for Beginners!
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”
Loading Screen
I started working on a Python Project earlier this week. However, it currently isn’t finished yet. The project consists of the ‘Snake’ game which used to be available on Mobile Phones in the early 2000’s. The majority of the code for the program is written. However, I’ve run into some issues when attempting to getContinue reading “Loading Screen”
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”
A New Beginning
Welcome to WordPress. I have decided to move my blog over to WordPress as it allows more functionality. Therefore, allowing me to improve the content that I post.The old blog will remain where it is, with a link to it posted somewhere on this site and in this post. Please follow the link to beContinue reading “A New Beginning”