SlideShare a Scribd company logo
1 of 21
Download to read offline
MAA UMIYA PATIDAR GIRLS H.S.SCHOOL
INFORMATION PRACTICS(065)
SESSION:2019-20
CLASS:11th ‘A’
TOPIC:PROGRAM LIST
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
SUBMITTEDBY:
KRATIKA PATIDAR
SUBMITTEDTO:MRS.
MALA PATIDAR
PROGRAMS COVERED:
• PROGRAMTOTAKETHETEMPERATURE IN CELSIUSAND CONVERT IT INTO
FAHRENHEIT.
• PROGRAMTO COMPOUND SIMPLE INTERESTGIVENALLTHE REQUIREDVALUE.
• PROGRAMTO REVERSETHE GIVEN NUMBER.
• PROGRAMTO CHECK GIVEN NUMBER IS PALINDROMEOR NOT.
• PROGRAMTO READ HEIGHT IN CENTIMETERANDTHEN CONVERTTHE HEIGHTTO
FEET AND INCHES.
• PROGRAMTO PRINTTABLE OF GIVEN NUMBER.
• PROGRAMTO FINDTHEAREA OF ATRIANGLEGIVENALLTHREE SIDES.
• PROGRAMTO PRINT # BY GIVEN RANGE.
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
PROGRAM1:PROGRAMTOTAKETHETEMPERTURE IN CELSIUS AND
CONVERT ITTO FAHRENHEIT.
Celsius=int(input("enter the temperature in Celsius:"))
f=(Celsius*1.8)+32
print("temperature in Fahrenheit is:",f)
>>> RUNTIMETEST CASES:
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
EXECUTION
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
PROGRAM2:PROGRAMTO COMPUTE SIMPLE INTEREST
GIVEN ALLTHE REQUIRED VALUE.
principle=float(input("enter the principle amount:"))
time=int(input("enter the time :"))
rate=float(input("enter the rate:"))
simple_interest=(principle*time*rate)/100
print("the simple interest is :",simple_interest)
>>>RUNTIMETEST CASES
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
EXECUTION
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
PROGRAM3:PROGRAMTO REVERSETHE GIVEN NUMBER.
n=int(input("enter number:"))
rev=0
while(n>0):
dig=n%10
rev=rev*10+dig
n=n//10
print("reverse of the number:",rev)
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
EXECUTION
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
PROGRAM4:PROGRAMTO CHECK GIVEN NUMBER IS
PALINDROME OR NOT.
n=int(input("enter number"))
temp=n
rev=0
while (n>0):
dig=n%10
rev=rev*10+dig
n=n//10
if(temp==rev):
print("the number is palindrome!")
else:
print("the number isn't a palindrome!")
>>>RUNTIMETEST CASES
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
EXECUTION
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
PROGRAM 5:PROGRAMTO READ HEIGHT IN CENTIMETER
ANDTHEN CONVERTTHE HEIGHTTO FEET AND INCHES .
cm=int(input("enter the height in centimeters:"))
inches=0.394*cm
feet=0.034*cm
print("the length in inches", round(inches,2))
print("the length in feet", round(feet,2))
>>>RUNTIMETEST CASES
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
EXECUTION
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
PROGRAM 6:PROGRAMTO PRINTTABLE OF GIVEN NUMBERS
n=int(input("enter the number to print the tables for:"))
for i in range(1,11):
print(n,"x",i,"=",n*i)
>>>RUNTIMETEST CASES
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
EXECUTION
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
PROGRAM7:PROGRAMTO FINDTHE AREA OF ATRIANGLE
GIVEN ALLTHREE SIDE.
import math
a=int(input("enter first side:"))
b=int(input("enter second side:"))
c=int(input("enter third side:"))s=(a+b+c)/2
area=math.sqrt(s*(s-a)*(s-b*(s-c))
print("area of the triangle is",round(area,2))
>>>RUNTIMETEST CASES
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
EXECUTION
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
PROGRAM8:INPUT THREE ANGLES AND DETERMINE IF
THEY ARE FORMTRIANGLE OR NOT .
angle1=angle2=angle3=0
angle1=float(input("enter angle1:"))
angle2=float(input("enter angle2:"))
angle3=float(input("enter angle3:"))
if(angle1+angle2+angle3)==180:
print("these angles forms a triangle.")
else:
print("these angles do not forms a triangle.")
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
EXECUTION
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
PROGRAM9:PROGRAMTO PRINT # BY GIVEN RANGE.
fora in range(1,6):
for b in range(1,a):
print("#",end='')
print()
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
EXECUTION
MAA UMIYA PATIDAR GIRLS H.S SCHOOL
MAA UMIYA PATIDAR GIRLS H.S SCHOOL

More Related Content

Recently uploaded

31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
DiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfDiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfChristalin Nelson
 
Objectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxObjectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxMadhavi Dharankar
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineCeline George
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...Nguyen Thanh Tu Collection
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxryandux83rd
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Shark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsShark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsArubSultan
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 

Recently uploaded (20)

31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
DiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfDiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdf
 
Introduction to Research ,Need for research, Need for design of Experiments, ...
Introduction to Research ,Need for research, Need for design of Experiments, ...Introduction to Research ,Need for research, Need for design of Experiments, ...
Introduction to Research ,Need for research, Need for design of Experiments, ...
 
Objectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxObjectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptx
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command Line
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
 
Spearman's correlation,Formula,Advantages,
Spearman's correlation,Formula,Advantages,Spearman's correlation,Formula,Advantages,
Spearman's correlation,Formula,Advantages,
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptx
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Shark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsShark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristics
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 

Python Programme list

  • 1. MAA UMIYA PATIDAR GIRLS H.S.SCHOOL INFORMATION PRACTICS(065) SESSION:2019-20 CLASS:11th ‘A’ TOPIC:PROGRAM LIST MAA UMIYA PATIDAR GIRLS H.S SCHOOL SUBMITTEDBY: KRATIKA PATIDAR SUBMITTEDTO:MRS. MALA PATIDAR
  • 2. PROGRAMS COVERED: • PROGRAMTOTAKETHETEMPERATURE IN CELSIUSAND CONVERT IT INTO FAHRENHEIT. • PROGRAMTO COMPOUND SIMPLE INTERESTGIVENALLTHE REQUIREDVALUE. • PROGRAMTO REVERSETHE GIVEN NUMBER. • PROGRAMTO CHECK GIVEN NUMBER IS PALINDROMEOR NOT. • PROGRAMTO READ HEIGHT IN CENTIMETERANDTHEN CONVERTTHE HEIGHTTO FEET AND INCHES. • PROGRAMTO PRINTTABLE OF GIVEN NUMBER. • PROGRAMTO FINDTHEAREA OF ATRIANGLEGIVENALLTHREE SIDES. • PROGRAMTO PRINT # BY GIVEN RANGE. MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 3. PROGRAM1:PROGRAMTOTAKETHETEMPERTURE IN CELSIUS AND CONVERT ITTO FAHRENHEIT. Celsius=int(input("enter the temperature in Celsius:")) f=(Celsius*1.8)+32 print("temperature in Fahrenheit is:",f) >>> RUNTIMETEST CASES: MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 4. EXECUTION MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 5. PROGRAM2:PROGRAMTO COMPUTE SIMPLE INTEREST GIVEN ALLTHE REQUIRED VALUE. principle=float(input("enter the principle amount:")) time=int(input("enter the time :")) rate=float(input("enter the rate:")) simple_interest=(principle*time*rate)/100 print("the simple interest is :",simple_interest) >>>RUNTIMETEST CASES MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 6. EXECUTION MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 7. PROGRAM3:PROGRAMTO REVERSETHE GIVEN NUMBER. n=int(input("enter number:")) rev=0 while(n>0): dig=n%10 rev=rev*10+dig n=n//10 print("reverse of the number:",rev) MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 8. EXECUTION MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 9. PROGRAM4:PROGRAMTO CHECK GIVEN NUMBER IS PALINDROME OR NOT. n=int(input("enter number")) temp=n rev=0 while (n>0): dig=n%10 rev=rev*10+dig n=n//10 if(temp==rev): print("the number is palindrome!") else: print("the number isn't a palindrome!") >>>RUNTIMETEST CASES MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 10. EXECUTION MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 11. PROGRAM 5:PROGRAMTO READ HEIGHT IN CENTIMETER ANDTHEN CONVERTTHE HEIGHTTO FEET AND INCHES . cm=int(input("enter the height in centimeters:")) inches=0.394*cm feet=0.034*cm print("the length in inches", round(inches,2)) print("the length in feet", round(feet,2)) >>>RUNTIMETEST CASES MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 12. EXECUTION MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 13. PROGRAM 6:PROGRAMTO PRINTTABLE OF GIVEN NUMBERS n=int(input("enter the number to print the tables for:")) for i in range(1,11): print(n,"x",i,"=",n*i) >>>RUNTIMETEST CASES MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 14. EXECUTION MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 15. PROGRAM7:PROGRAMTO FINDTHE AREA OF ATRIANGLE GIVEN ALLTHREE SIDE. import math a=int(input("enter first side:")) b=int(input("enter second side:")) c=int(input("enter third side:"))s=(a+b+c)/2 area=math.sqrt(s*(s-a)*(s-b*(s-c)) print("area of the triangle is",round(area,2)) >>>RUNTIMETEST CASES MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 16. EXECUTION MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 17. PROGRAM8:INPUT THREE ANGLES AND DETERMINE IF THEY ARE FORMTRIANGLE OR NOT . angle1=angle2=angle3=0 angle1=float(input("enter angle1:")) angle2=float(input("enter angle2:")) angle3=float(input("enter angle3:")) if(angle1+angle2+angle3)==180: print("these angles forms a triangle.") else: print("these angles do not forms a triangle.") MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 18. EXECUTION MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 19. PROGRAM9:PROGRAMTO PRINT # BY GIVEN RANGE. fora in range(1,6): for b in range(1,a): print("#",end='') print() MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 20. EXECUTION MAA UMIYA PATIDAR GIRLS H.S SCHOOL
  • 21. MAA UMIYA PATIDAR GIRLS H.S SCHOOL