Menu Close

Month: February 2022

Map Module/built-in Function

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…

Linux commands for managing files

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…

Check the key

Write a program to check whether the given key is present in the dictionary. If the key is present then display the value of the…

Compute the Sum of Cosine Series

Python Program to Find the Sum of Cosine Series. Input:First Line: Value of x in degreesSecond Line: Number of terms Output:Print the Sum of Cosine…

Find the Sum of Sine Series

Python Program to Find the Sum of Sine Series. Input:First Line : The value of x in degreesSecond Line: The number of terms Output:Print the…

Remove the Vowels from the string

Write a program that accepts a string and redisplays the same string after removing vowels from it. INPUT_1:Enter any String:  welcomeOUTPUT:Without Vowels:  wlcm INPUT_2:Enter any…