0% found this document useful (0 votes)
8 views11 pages

Practicle File Python

The document outlines a series of programming tasks, each requiring input and producing output. These tasks include checking for Armstrong and perfect numbers, performing arithmetic operations, calculating factorials, checking for palindromes, sorting lists, counting vowels and consonants, storing contacts in a dictionary, and printing prime numbers within a range. Each task is presented with a placeholder for input and output, indicating a structured approach to programming exercises.

Uploaded by

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

Practicle File Python

The document outlines a series of programming tasks, each requiring input and producing output. These tasks include checking for Armstrong and perfect numbers, performing arithmetic operations, calculating factorials, checking for palindromes, sorting lists, counting vowels and consonants, storing contacts in a dictionary, and printing prime numbers within a range. Each task is presented with a placeholder for input and output, indicating a structured approach to programming exercises.

Uploaded by

editzrj671
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

1.

Program to check whether your entered number is


Armstrong or Not.
Input:

Output:
2.Program to check Whether the Entered Number is
Perfect Number or Not.
Input:

Output:
3.Program to Perform all arithmetic operations two
entered numbers.
Input:
Output:

4.Program to evaluate Factorial of entered


number.
Input:

Output:
5.Program to check whether entered number is
Palindrome or Not.
Input:
Output:

6.Program to swipe elements according to


ascending order in List.
Input:

Output:
7. Program to count number of vowels and
consonant’s in entered string.
Input:

Output:
8.Program to Store Entered Contact with Name in a
Dictionary.
Input:

Output:
9.Program to print prime numbers in a range
through Functions.
Input:

Output:

You might also like