Basic: Remove Vowels

Question: Given a string as an input, please create a function that would remove all vowels (‘a’, ‘i’, ‘u’, ‘e’, ‘o’) from that string. For simplicity, consider all characters in the input string are in lower case. Answer: 👍 Have fun while coding with Python! 👌 Please subscribe to receive notifications on future challenges. 💬 If you … Read more

Basic: Prime Numbers

Question: Please implement a function to check whether a number is a prime number or not. A prime number is a number greater than one that can be divided (without leaving any reminder) only by one and the number itself. The function simply has one parameter (an integer) and a boolean input stating whether the … Read more

Coding Python Without Installation

One easy way to code python without installing anything on your machine is to use Google Colab. Here is step-by-step instruction. Run your first python code in Google Colab 1. Go to and if you have not done so, sign in to your Google account using the Sign-in button at the top-right corner of … Read more

Python Basic Controls

Print statement: If statement: If-then-else statement: For-loop statement: The third parameter in the range function is the step counter, by default it is 1. We can count backward by specifying step -1 While-loop statement Create a function 👍 Have fun while coding with Python! 👌 Please Subscribe to not miss any future posts 💬 If … Read more