[Go to site: main page, start]

0% found this document useful (0 votes)
2 views21 pages

Python Program

The document lists various Python programs that cover basic programming concepts. These include printing messages, performing arithmetic operations, checking number properties, generating sequences, and handling strings. Each program serves as a practical example for learning Python programming skills.
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)
2 views21 pages

Python Program

The document lists various Python programs that cover basic programming concepts. These include printing messages, performing arithmetic operations, checking number properties, generating sequences, and handling strings. Each program serves as a practical example for learning Python programming skills.
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 programs

1) Program to print “Hello world”


2) Program to Add two numbers
3) Program to calculate area of the triangle
4) Program to swap two variables
5) Program to generate random number
6) Program to check if a number is positive or negative
7) Program to check number is odd or even
8) Program to find the largest among three numbers
9) Program to check prime number
10) Program to print table of 12.
11) Program to print the Fibonacci sequence
12) Program to check Armstrong number
13) Program to check whether number divisible by 13 using lambda.
14) Program to make single calculator
15) Program to display calendar of given month and year
16) Program to check string is palindrome or not
17) Program to check number is palindrome or not

Output
18) Program to print 1 to 10 number using any loop

You might also like