0% found this document useful (0 votes)
2 views

Python Assignment - Day 4

The document outlines a practice assignment for programming with Python, designed to be completed in 2 hours. It includes two tasks: creating a temperature converter that converts Celsius to Fahrenheit, and calculating the height of a building based on the observer's distance and angle. These tasks aim to enhance Python programming skills.

Uploaded by

rmanimaran911
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 views

Python Assignment - Day 4

The document outlines a practice assignment for programming with Python, designed to be completed in 2 hours. It includes two tasks: creating a temperature converter that converts Celsius to Fahrenheit, and calculating the height of a building based on the observer's distance and angle. These tasks aim to enhance Python programming skills.

Uploaded by

rmanimaran911
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/ 3

Practice Assignment – 4

Programming with Python

Techademy
CONTENTS
1 Duration .......................................................................................................................................... 2
2 Problem Statements ....................................................................................................................... 2
2.1 Task 1: Temperature Conversion ........................................................................................... 2
2.2 Task 2: Height of a building .................................................................................................... 2

1
1 DURATION
2 Hours

2 PROBLEM STATEMENTS

2.1 Task 1: Temperature Converter


Write a python program to accept input temperature in Celsius and convert it to
Fahrenheit

2.2 Task 2: Height of a building


Write a python code to calculate the height of a building in feet, given distance of the
observer from the building in meters and the angle formed at the observation point given
in degrees.

You might also like