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.