SlideShare a Scribd company logo
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

Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 

Recently uploaded (20)

Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

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