a function is a block of code that performs a specific task and returns a result. Functions are used to modularize and organize code, making it easier to reuse and maintain.
Category: Python
Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991…
In this category, we will cover topics like data types, operators, keywords, functions, loops, conditional statements, etc….
Is Python Dynamically typed programming language or Statically typed?
Python is a Dynamically typed programming language.What are the differences between statically typed and dynamically typed languages?
Infosys – HackWithInfy Coding practice problem – 2 : Players
Ravi and Shanu play a game. Initially they write N random numbers on a sheet of paper. Suppose the integers written are a1, a2, a3 …..,an. Now they start playing a game. In each turn a player selects a number and erases it from the sheet.
Infosys – HackWithInfy Coding practice problem – 1 : Auction Winner
You are at a fine art auction and are looking for a specific painting. There are N people who have gathered to place a bid on that same painting.The rules of at this auction are a bit different, Such that, the person with the lowest unique bid wins the auction.
Implementation of Linked List in Python
In this post, We will see the implementation of Linked-List in python.
Creation of Linked List in Python
For creating a Linked List of 3 Nodes. We would first need to create 3 Nodes and then point next of Node1 to Node2, next of Node2 to Node3.
Infosys InfyTQ Practice Problem – 1 | Four Digit OTP
Problem Statement: You will be given a number in the form of the string, extract out digits at odd index then square and merge them. The first 4 digits will be the required OTP which shows as output. If 4 digit OTP is not generated then give output -1.
Python Fundamentals Quiz : Set – 1
This Quiz checks your python fundamentals knowledge.
Python – Dice Rolling Simulator GUI
In this post, we will see how to create a Dice Rolling Simulator GUI in Python using tkinter library.
Python – How to create a Counter Gui Application
In this post, we will see how to create a Counter Gui Application in Python using tkinter library.