Home » Exercises
Category:

# Exercises

Exercises

## International Civil Aviation Organization text to speech in python

The International Civil Aviation Organization (ICAO) alphabet assigns code words to the letters of the English alphabet acrophonically (Alfa for A, Bravo for B, etc.) so that critical combinations of …

• Exercises

## Caesar cipher example in python

In cryptography, a Caesar cipher is a very simple encryption techniques in which each letter in the plain text is replaced by a letter some fixed number of positions down …

• Exercises

## Create a digital clock using Turtle in Python

In this article we create a digital clock using turtle and we will add a digital clock Code Installation: To install this module type the below command in the terminal. …

• Exercises

## Create a Fidget Spinner with Python

In this article we will create a fidget spinner using python A fidget spinner is a toy that consists of a ball bearing in the center of a multi-lobed (typically …

• Exercises

## Concatenating two Tuples in python

We can add two tuples using the + operator. The resultant tuple will have items from both the tuples. Example tuple1 = (1, 2, 3, 4, 5, 6) tuple2 = …

• Exercises

## Slice a Tuple in python

In this example we show how you can slice a tuple in python Syntax: slice(stop) slice(start, stop, step) Parameters: start: (Optional) Starting index where the slicing of the iterable starts. …

• Exercises

## Find Sum of Tuple Items using Python

In this example we use the sum function to return the sum of all tuple items. Example # Sum of All Items number_tuple = (10, 20, 30, 40, 50, 60, …

• Exercises

## Find Largest and Smallest Item in a Tuple in python

In this example we use the min and max functions which will return the smallest and largest items ina  tuple Example # Largest and Smallest Item in a tuple number_tuple …

• Exercises

## Check Item exists in a Tuple in Python

In this example we check to see if an item exists in a tuple We use the in operator to find the item that exists in a tuple. Example number_tuple …

• Exercises

## Creating a Tuple in Python

In this example we show you how to create a tuple in python A tuple can have items of different data types like integers, floats, lists, strings, etc; Example There …

Newer Posts

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More