0% found this document useful (0 votes)
7 views1 page

Python SET 1

The document outlines 10 basic Python programs for students to practice. The in-class programs include printing text, performing math operations like division and remainder, and swapping integers with and without a third variable. The assignment programs include more printing and math practice like addition.

Uploaded by

m10749133
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)
7 views1 page

Python SET 1

The document outlines 10 basic Python programs for students to practice. The in-class programs include printing text, performing math operations like division and remainder, and swapping integers with and without a third variable. The assignment programs include more printing and math practice like addition.

Uploaded by

m10749133
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
You are on page 1/ 1

DIPLOMA IMPLANT TRAINING : PYTHON SET 1

( Basic Programs)

 In- class Programs

1. Write a program to print “Hello World” using single and three Double Quotes
2. Write a program to find division of two integers using type casting to float.
3. Write a program to find the remainder of two integers.
4. Write a program to swap two integers & display the result before swapping & after
swapping (hint: use third variable).
5. Write a program to swap two integers without using third variable & display the result
before swapping & after swapping.
6. Write a Program to find the sum of two Complex Numbers.
7. Write a Program to convert number of items into Dozens and remaining units.

 Assignment Programs

8. Write a program to print “Hello World” using single and three Single Quotes

9. Write a program to find Addition of two integers.

10. Write a program which takes the number of seconds as input & convert it into hours,
minutes and seconds.

*****

You might also like