0% found this document useful (0 votes)
12 views5 pages

Python Programs for Basic Concepts

The document outlines five Python programming exercises, each with a specific aim. The exercises include finding the greatest of three numbers, summing N numbers, demonstrating string operations, converting a tuple to a list, and checking for key/value existence in a dictionary. Each program is executed successfully, as indicated in the results.
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)
12 views5 pages

Python Programs for Basic Concepts

The document outlines five Python programming exercises, each with a specific aim. The exercises include finding the greatest of three numbers, summing N numbers, demonstrating string operations, converting a tuple to a list, and checking for key/value existence in a dictionary. Each program is executed successfully, as indicated in the results.
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

EX.

NO:1

GREATEST OF THREE NUMBER

AIM

To write a python program to read three numbers and print the greatest of three numbers.

PROGRAM

OUTPUT

RESULT

Thus the above program have been executed and the output is verified successfully.
[Link]

SUM OF N NUMBER

AIM

To write a python program to find the sum of N number using range () function in for loop.

PROGRAM

OUTPUT

RESULT

Thus the above program have been executed and the output is verified successfully.
[Link]

AIM

To write a python program to demonstrate the string slicing, concatenation, replication and len() method.

PROGRAM

OUTPUT

RESULT

Thus the above program have been executed and the output is verified successfully.
[Link]

AIM

To write a python program to create a tuple and convert into a list and print the list in sorted order.

PROGRAM

OUTPUT

RESULT

Thus the above program have been executed and the output is verified successfully.
[Link]

AIM

To write a python program to create a dictionary and check whether a key or value exist in the dictionary.

PROGRAM

OUTPUT

RESULT

Thus the above program have been executed and the output is verified successfully.

You might also like