0% found this document useful (0 votes)
35 views2 pages

Python Programs for Number Checks

This document contains descriptions of 30 Python programs covering a variety of tasks involving numbers, strings, and dictionaries. The programs include checking properties of numbers like even/odd, positive/negative, palindromes; manipulating numbers through operations like reversing, summing digits, finding factorials; manipulating strings by removing/replacing characters, reversing, finding common elements; and adding elements to dictionaries. The programs demonstrate both recursive and non-recursive approaches.

Uploaded by

Sravani
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views2 pages

Python Programs for Number Checks

This document contains descriptions of 30 Python programs covering a variety of tasks involving numbers, strings, and dictionaries. The programs include checking properties of numbers like even/odd, positive/negative, palindromes; manipulating numbers through operations like reversing, summing digits, finding factorials; manipulating strings by removing/replacing characters, reversing, finding common elements; and adding elements to dictionaries. The programs demonstrate both recursive and non-recursive approaches.

Uploaded by

Sravani
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

• Python Program to Check Whether a Given Number is Even or Odd

using Recursion
• Python Program to Check Whether a Number is Positive or
Negative
• Python Program to Check if a Number is a Palindrome
• Python Program to Reverse a Number
• Python Program to Print All Integers that Aren’t Divisible by
Either 2 or 3
• Python Program to Find Sum of Digit of a Number Without
Recursion
• Python Program to Print Table of a Given Number
• Python Program to Read a Number n and Compute n+nn+nnn
• Python Program to Check if a Number is a Strong Number
• Python Program to Print Numbers in a Range Without using Loops
• Python Program to Check If Two Numbers are Amicable Numbers
or Not
• Python Program to Find Whether a Number is a Power of Two
• Python Program to Find Product of Two Numbers using Recursion
• Python Program to Find All Perfect Squares in the Given Range
• Python Program to Print All Possible Combinations of Three
Digits
• Python Program to Find Fibonacci Numbers using Recursion
• Python Program to Find the Fibonacci Series Without using
Recursion
• Python Program to Find the Factorial of a Number using
Recursion
• Python Program to Find the Factorial of a Number Without
Recursion
• Python Program to Check if a String is a Pangram or Not
• Python Program to Remove Odd Indexed Characters in a string
• Python Program to Remove the nth Index Character from a Non-
Empty String
• Python Program to Replace All Occurrences of ‘A’ with $ in a
String
• Python Program to Replace Every Blank Space with Hyphen in a
String
• Python Program to Reverse a String Without using Recursion
• Python Program to Find Common Characters in Two Strings
• Python Program to Find the Larger String without using Built-in
Functions
• Python Program to Check if a Given String is Palindrome
• Python Program to Check whether a String is Palindrome or not
using Recursion
• Python Program to Add a Key-Value Pair to the Dictionary
• Python Program to Create a Class which Performs Basic
Calculator Operations

You might also like