function that takes two strings and returns True if they are anagrams and False otherwise.
A pair of strings is anagrams if the letters in one word can be arranged to form the second one.
Test case1: input: listen silent output: True
a recursive function to print nth term of the Fibonacci sequence.
a recursive function to check whether a string is a palindrome.
a recursive function in Python to find the factorial of a number.
a program that uses a for loop to"count mississippily" to
five. Having counted to five, the program should print to the screen the final message "Ready or not, here I come!
a program that uses a while loop and continuously asks the user to enter a word unless the user enters chupacabra
as the secret exit word, in which case the message You've successfully left the loop. should be printed to the
screen, and the loop should terminate.
ask the user to enter a word;
use conditional execution and the continue statement to eat the following vowels
A, E, I, O, U from the inputted word;
print the uneaten letters to the screen, each one of them on a separate line.
Using one of the comparison operators in Python, write a simple two-line program that takes the parameter;
n as input, which is an integer, and prints False if n is less than 100,
and True if n is greater than or equal to 100.
task is to write a program which reads the number of blocks the builders have, and outputs the height of th
pyramid that can be built using these blocks;
he height is measured by the number of fully completed layers - if the builders don't have a sufficient number
of blocks and cannot complete the next layer, they finish their work immediately.
The pyramid is stacked according to one simple principle: each lower layer contains one block more than the layer
above.
Reverse the contents of a list without using the reverse() method of a list and without using slicing.