# Category: Python

## LCD Monitors are good for Gaming

LCD monitors, specifically those with modern technologies such as IPS (In-Plane Switching) or TN (Twisted Nematic) panels, can be good choices for gaming. However, the…

## Bubble Sort… – FcukTheCode

Parameter Description Stable Yes In place Yes Best case complexity O(n) Average case complexity O(n^2) Worst case complexity O(1) The BubbleSort compares each successive pair…

## PlayStation 5 ReStock …fcukthecode

Experience lightning fast loading with an ultra-high speed SSD, deeper immersion with support for haptic feedback, adaptive triggers and 3D Audio, and an all-new generation…

## Huffman Coding : Change-making problem ..:- fcukthecode

Huffman Coding -: Greedy Algorithms ðŸ‘‡ ðŸ‘‡ ðŸ™‚Link –> HUFFMAN CODING Given a money system, is it possible to give an amount of coins and…

## Huffman Coding – Activity Selection Problem

Huffman Coding -: Greedy Algorithms ðŸ‘‡ ðŸ‘‡ ðŸ™‚Link –> HUFFMAN CODING The ProblemYou have a set of things to do (activities). Each activity has a…

## Celsius to Fahrenheit [Python] …ftc

Write a program to Convert the temperature from Celsius to Fahrenheit. INPUT_1:Celsius:Â  0 OUTPUT:Celsius to Fahrenheit:Â  32.0 F INPUT_2:Celsius:Â  30 OUTPUT:Celsius to Fahrenheit:Â  86.0 F…

## Finding the multiple in Python …FTC

Find the multiple of given number in the list of integers. Input:First Line of the Input is the Number of Elements in the ListSecond Line…

## OS Module (os.path) Python-fcukthecode

This module implements some useful functions on pathnames. The path parameters can be passed as either strings, or bytes. Applications are encouraged to represent file…

## Â Find the sequence of given integers in Python…fcukthecode.com

Sort the given set of integers using bubble sort and find the smallest and largest among given set of integers. Get the number of integers Receive the…

## Finding the occurrence of an integer [Python] … fcukthecode

Find the given integer in the given list of integers and print the number of occurrences of that integer in the list. INPUT_1:Enter the Elements:Â …

## Searching Linear in Python…FTC

Write a program to search a element linearly. INPUT_1:Enter the Elements:Â  5Â  2Â  3Â  4Â  10Â  40Element to Search:Â  3 OUTPUT:Element is present at indexÂ …

## Series and Parallel Mapping (Map function) in Python…FcuktheCode

map() is a built-in function, which means that it is available everywhere without the need to use an ‘import’ statement. It is available everywhere just…

## Mapping and Transposing with Map Module Python …FcukTheCode

Mapping values of different iterables For example calculating the average of each i -th element of multiple iterables: There are different requirements if more than…

## Map Module in Python …FcuktheCode

The map function is the simplest one among Python built-ins used for functional programming. map() applies a specified function to each element in an iterable…

## Moving, Copying, and Removing Files in Linux..-..Fcukthecode

Commands for moving, copying, and deleting files are fairly straightforward. To change the location of a file, use the mv command. To copy a file…

## List to Dictionary Python…fcukthecode.com

Write the python program which takes two lists and maps two lists into a dictionary. INPUT_1:Size:Â  3List1:Â  1Â  2Â  3List2:Â  1Â  4Â  9 OUTPUT:The dictionary…

## Substitutions and Splitting using Regular Expressions Regex in Python…FTC

Basics of Regular Expressions in Python, check the link below ðŸ‘‡ ðŸ‘‡Regular Expressions Regex basic in Python ðŸ‘ˆ ðŸ‘ˆ Splitting a String The split() method…

## Basics of Regular Expressions Regex in Python-FcukTheCode

A regular expression is a string used for pattern matching. Regular expressions can be used to search for strings that match a certain pattern, and…

## Â Dynamic Dictionaries Python…FTC

Write a program to print all the squares of the range from 1 to n. Input:Get the Value Output:Display the square value of the dictionary…

## Write a program to check whether the given key is present in the dictionary….Python FTC

If the key is present then display the value of the entered key and if the key is not present then display the appropriate message…