Posts by Karshin Uppal

Author Biographical Info: Not available

Remove duplicates from sorted Linked List in Python

By Karshin Uppal

Here in this tutorial, we will learn how to remove duplicates from a linked list in Python. From a linked list like this: 1 2 2 3 4 4 5 To a linked list like: 1 2 3 4 5 In a linked.... Read More

Hash Map in Python

By Karshin Uppal

Here in this tutorial, we will learn about Hash Maps in Python. A Hash map is a data structure where data is stored in key and value format where all the keys are unique and for a .... Read More

How to generate a random letter in Python

By Karshin Uppal

Here in this tutorial, we learn how to generate a random letter in Python. The random module is used to shuffle values, generate some random data, etc and here we will see how it c.... Read More

random.sample() vs random.choice() in Python

By Karshin Uppal

Here in this tutorial, we will learn about the difference between random.sample() and random.choice() functions. The random module is used to shuffle values, generate some random d.... Read More

How to change folder name in Python

By Karshin Uppal

Here in this tutorial, we will learn how to change the folder name in Python. Changing folder name in Python Changing a folder name is quite simple in Python with the help of in-bu.... Read More

Mouse wheel event in Pygame

By Karshin Uppal

Here in this tutorial, we will see how to detect mouse wheel movement in Pygame Python. Detecting mouse wheel event import pygame pygame.init() screen = pygame.display.set_mode((50.... Read More

Detect arrow key press in Pygame Python

By Karshin Uppal

This tutorial will teach us how to detect the arrow key press in Pygame Python. Detecting the arrow key press in Pygame Detecting the moment of arrow keys is easy in Python with th.... Read More

Copy surface in Pygame Python

By Karshin Uppal

In this tutorial, we will learn how to copy surfaces in Python using the Pygame library. Surfaces play an important role in pygame because when creating a game the first thing any .... Read More

Related Posts