Let’s see how to calculate the geometric mean in Python. The geometric mean is a measure of central tendency that is useful for dealing with data that has a wide range of values and is often used in finance, biology, and other fields.
How to calculate harmonic mean in Python?
The harmonic mean is a type of average, often used in situations where you want to find the average rate or ratio. Let’s see how to calculate harmonic mean in Python.
How to convert char to string in Python
Let’s see how to convert char to string in Python. Asume given char list is : Char : [‘m’, ‘y’, ‘c’, ‘h’, ‘a’, ‘r’] And we would like to convert it to: String : mychar There are a few ways to do that:
How to draw pyramid?
Let’s embark on an exciting journey to learn how to draw various pyramids using Python.
How to convert cm to inch?
Let’s see how to handle unit conversion in Python. I’m taking cm to inch conversion as an example.
How to Create a Wheel in Python Turtle (with Images and Code)
Python Turtle is a Python library that allows you to create 2D graphics. It is a great way to learn the basics of programming and to create simple animations. We will learn how to create a wheel in Python Turtle.
Tkinter GUI with side menu
I am creating a Tkinter GUI with a side menu today. Something more difficult with elements of object-oriented programming. Let’s see how to implement this code.
Tkinter GUI with Countdown in Python
You will learn how to create a simple Tkinter GUI with a countdown timer.
Frequency and percentage of given letter in the text
You will learn how to calculate the frequency and percentage of a given letter in a text using Python.
GUI with autogenerated triangles
I’ve created a Tkinter script that generates random triangles. And of course I am sharing that with you.
Python code to draw cos(x) using matplotlib
Let’s draw again. This time we will use a matplotlib and numpy to get python cos(x) graph.
Calculate age from date of birth in Python
I’ll show you how to calculate your age in years, months, and days using Python. The script will ask for the day, month, and year of your birth, and it will output your exact age. With a few simple adjustments, this script can also be used for other datetime calculations.
Here’s how to draw a hyperbola
Let’s draw using tkinter. Hyperbola is my choice!
Draw random stars using turtle
Enjoy creating random objects with Python. Now, let’s have some fun drawing stars in various positions and colors.
Tkinter GUI to fetch data
Here is the basic Tkinter GUI which fetches data.