SlideShare a Scribd company logo
Python Coding Questions on Numbers
Q1). Write a program to reverse an integer in Python
Q2). Write a program in Python to check whether an integer is Armstrong number or not.
Q3). Write a program in Python to check given number is prime or not.
Q4). Write a program in Python to print the Fibonacci series using iterative method.
Q5). Write a program in Python to print the fibonacci series using recursive method.
Q6). Write a program in Python to check whether a number is palindrome or not using
iterative method.
Q7). Write a program in Python to check whether a number is palindrom or not using
recursive method.
Q8). Write a program in Python to find greatest among thxree integers.
Q9). Write a program in Python to check if a number is binary?
Q10). Write a program in Python to find sum of digits of a number using recursion?
Q11). Write a program in Python to swap two numbers without using third variable?
Q12). Write a program in Python to swap two numbers using third variable?
Q13). Write a program in Python to find prime factors of a given integer.
Q14). Write a program in Python to add two integer without using arithmetic operator?
Q15). Write a program in Python to find given number is perfect or not?
Q16). Python Program to find the Average of numbers with explanations.
Q17). Python Program to calculate factorial using iterative method.
Q18). Python Program to calculate factorial using recursion.
Q19). Python Program to check a given number is even or odd.
Q20). Python program to print first n Prime Number with explanation.
Q21). Python Program to print Prime Number in a given range
Q22). Python Program to find Smallest number among three.
Q23). Python program to calculate the power using the POW method.
Q24). Python Program to calculate the power without using POW function.(using for loop)
Q25). Python Program to calculate the power without using POW function.(using while
loop).
Q26). Python Program to calculate the square of a given number.
Q27). Python Program to calculate the cube of a given number
Q28). Python Program to calculate the square root of a given number.
Q29). Python program to calculate LCM of given two numbers.
Q30). Python Program to find GCD or HCF of two numbers.
Q31). Python Program to find GCD of two numbers using recursion.
Q32). Python Program to Convert Decimal Number into Binary.
Q33). Python Program to convert Decimal number to Octal number.
Q34). Python Program to check the given year is a leap year or not.
Q35). Python Program to convert Celsius to Fahrenheit.
Q36). Python Program to convert Fahrenheit to Celsius.
Q37). Python program to calculate Simple Interest with explanation.

More Related Content

DOCX
Python Course outline.docx
PDF
Programming Practice Questions_C
DOCX
Programming questions
PDF
Master Python in 15 Days.pdf
DOCX
Computer Science Practical File class XII
DOCX
PYTHON PROGRAMS
PPTX
Chapter08.pptx
PPT
Sample Lab Orientation in Python orientation
Python Course outline.docx
Programming Practice Questions_C
Programming questions
Master Python in 15 Days.pdf
Computer Science Practical File class XII
PYTHON PROGRAMS
Chapter08.pptx
Sample Lab Orientation in Python orientation

Similar to python_1.pptx (20)

PDF
17 PYTHON MODULES-2.pdf
PPT
python libsdafsdsfsdfsdsdfasdfsdsdaffds.ppt
DOCX
Task python
DOC
Programming qns
PPTX
Chapter 9 Conditional and Iterative Statements.pptx
PDF
High Performance Python - Marc Garcia
PPTX
Mastering Coding Assignments: Expert Help for Your Coding Assignment Needs
PDF
Python programming Workshop SITTTR - Kalamassery
PPTX
Looping in PythonLab8 lecture slides.pptx
PPTX
python presentation
PDF
Java practical(baca sem v)
PPT
Computing Introduction to Python Lesson Two_041520 (1) (1).ppt
DOC
Course Breakup Plan- C
PDF
Algorithms Lecture 1: Introduction to Algorithms
PPTX
Python for ML.pptx
DOCX
Java codes
PPTX
Chapter two
PPTX
L-30-35huujjjhgjnnjhggbjkiuuhhjkiiijj.pptx
DOCX
CBSE Class 12 Computer practical Python Programs and MYSQL
PPTX
Python_Session05_Homeworkquestions.pptx
17 PYTHON MODULES-2.pdf
python libsdafsdsfsdfsdsdfasdfsdsdaffds.ppt
Task python
Programming qns
Chapter 9 Conditional and Iterative Statements.pptx
High Performance Python - Marc Garcia
Mastering Coding Assignments: Expert Help for Your Coding Assignment Needs
Python programming Workshop SITTTR - Kalamassery
Looping in PythonLab8 lecture slides.pptx
python presentation
Java practical(baca sem v)
Computing Introduction to Python Lesson Two_041520 (1) (1).ppt
Course Breakup Plan- C
Algorithms Lecture 1: Introduction to Algorithms
Python for ML.pptx
Java codes
Chapter two
L-30-35huujjjhgjnnjhggbjkiuuhhjkiiijj.pptx
CBSE Class 12 Computer practical Python Programs and MYSQL
Python_Session05_Homeworkquestions.pptx
Ad

Recently uploaded (20)

PDF
Beginner’s Guide to Digital Marketing.pdf
PPT
2- CELL INJURY L1 Medical (2) gggggggggg
PPTX
_Dispute Resolution_July 2022.pptxmhhghhhh
DOC
field study for teachers graduating samplr
PPTX
Slideham presentation for the students a
PDF
servsafecomprehensive-ppt-full-140617222538-phpapp01.pdf
PPTX
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
PDF
MCQ Practice CBT OL Official Language 1.pptx.pdf
PPT
APPROACH TO DEVELOPMENTALlllllllllllllllll
PDF
iTop VPN Crack Latest Version 2025 Free Download With Keygen
PDF
LSR CASEBOOK 2024-25.pdf. very nice casbook
PPTX
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
PPTX
Principles of Inheritance and variation class 12.pptx
PPTX
A slide for students with the advantagea
PPTX
STS CHAP 4 human development as reflected
PPTX
Theory of Change. AFH-FRDP OCEAN ToCpptx
PPTX
1751884730-Visual Basic -Unitj CS B.pptx
PDF
Why Today’s Brands Need ORM & SEO Specialists More Than Ever.pdf
PPTX
microtomy kkk. presenting to cryst in gl
DOCX
mcsp232projectguidelinesjan2023 (1).docx
Beginner’s Guide to Digital Marketing.pdf
2- CELL INJURY L1 Medical (2) gggggggggg
_Dispute Resolution_July 2022.pptxmhhghhhh
field study for teachers graduating samplr
Slideham presentation for the students a
servsafecomprehensive-ppt-full-140617222538-phpapp01.pdf
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
MCQ Practice CBT OL Official Language 1.pptx.pdf
APPROACH TO DEVELOPMENTALlllllllllllllllll
iTop VPN Crack Latest Version 2025 Free Download With Keygen
LSR CASEBOOK 2024-25.pdf. very nice casbook
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
Principles of Inheritance and variation class 12.pptx
A slide for students with the advantagea
STS CHAP 4 human development as reflected
Theory of Change. AFH-FRDP OCEAN ToCpptx
1751884730-Visual Basic -Unitj CS B.pptx
Why Today’s Brands Need ORM & SEO Specialists More Than Ever.pdf
microtomy kkk. presenting to cryst in gl
mcsp232projectguidelinesjan2023 (1).docx
Ad

python_1.pptx

  • 2. Q1). Write a program to reverse an integer in Python Q2). Write a program in Python to check whether an integer is Armstrong number or not. Q3). Write a program in Python to check given number is prime or not. Q4). Write a program in Python to print the Fibonacci series using iterative method. Q5). Write a program in Python to print the fibonacci series using recursive method. Q6). Write a program in Python to check whether a number is palindrome or not using iterative method. Q7). Write a program in Python to check whether a number is palindrom or not using recursive method. Q8). Write a program in Python to find greatest among thxree integers. Q9). Write a program in Python to check if a number is binary? Q10). Write a program in Python to find sum of digits of a number using recursion? Q11). Write a program in Python to swap two numbers without using third variable? Q12). Write a program in Python to swap two numbers using third variable? Q13). Write a program in Python to find prime factors of a given integer. Q14). Write a program in Python to add two integer without using arithmetic operator? Q15). Write a program in Python to find given number is perfect or not? Q16). Python Program to find the Average of numbers with explanations.
  • 3. Q17). Python Program to calculate factorial using iterative method. Q18). Python Program to calculate factorial using recursion. Q19). Python Program to check a given number is even or odd. Q20). Python program to print first n Prime Number with explanation. Q21). Python Program to print Prime Number in a given range Q22). Python Program to find Smallest number among three. Q23). Python program to calculate the power using the POW method. Q24). Python Program to calculate the power without using POW function.(using for loop) Q25). Python Program to calculate the power without using POW function.(using while loop). Q26). Python Program to calculate the square of a given number. Q27). Python Program to calculate the cube of a given number Q28). Python Program to calculate the square root of a given number. Q29). Python program to calculate LCM of given two numbers. Q30). Python Program to find GCD or HCF of two numbers. Q31). Python Program to find GCD of two numbers using recursion. Q32). Python Program to Convert Decimal Number into Binary.
  • 4. Q33). Python Program to convert Decimal number to Octal number. Q34). Python Program to check the given year is a leap year or not. Q35). Python Program to convert Celsius to Fahrenheit. Q36). Python Program to convert Fahrenheit to Celsius. Q37). Python program to calculate Simple Interest with explanation.

Editor's Notes

  • #2: Q1). Write a program to reverse an integer in Python Q2). Write a program in Python to check whether an integer is Armstrong number or not. Q3). Write a program in Python to check given number is prime or not. Q4). Write a program in Python to print the Fibonacci series using iterative method. Q5). Write a program in Python to print the fibonacci series using recursive method. Q6). Write a program in Python to check whether a number is palindrome or not using iterative method. Q7). Write a program in Python to check whether a number is palindrom or not using recursive method. Q8). Write a program in Python to find greatest among thxree integers. Q9). Write a program in Python to check if a number is binary? Q10). Write a program in Python to find sum of digits of a number using recursion? Q11). Write a program in Python to swap two numbers without using third variable? Q12). Write a program in Python to swap two numbers using third variable? Q13). Write a program in Python to find prime factors of a given integer.