Checking Palindrome using if-else
A Palindrome is any number or word which when reversed remains the same. For example, 12121 is a palindrome number. Similarly, "LEVEL" is a palindrome.
A Palindrome is any number or word which when reversed remains the same. For example, 12121 is a palindrome number. Similarly, "LEVEL" is a palindrome.
Getting started with lists A function which defines a list and we will get an output listA function that takes the input of a list of integers and the output…
Fibonacci sequence using Dynamic programming Welcome to Python for fun! Here is the code to find the Fibonacci sequence using dynamic programming.Fibonacci sequence is a series of numbers formed by…
Playing with Strings and Characters Deleting all the occurrences of the given single length character from the given string Here, we are using functions to delete all the occurrences of…
Factorial of a number To find the factorial of a given number by defining a functionA factorial is the product of all the integers from 1 to that number.n!=n*(n-1).....*1In this…
Displaying a Multiplication Table A code to display the Multiplication Table of a specific number.Welcome to the code! This code is for all the geeks out there who love to…