PMCA Sunday 14:00 Python Homework 21.05.02.
19378
post-template-default,single,single-post,postid-19378,single-format-standard,bridge-core-3.0.6,qode-page-transition-enabled,ajax_fade,page_not_loaded,,qode-theme-ver-29.3,qode-theme-bridge,disabled_footer_bottom,qode_header_in_grid,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

PMCA Sunday 14:00 Python Homework 21.05.02.

PMCA Sunday 14:00 Python Homework 21.05.02.

Question 1:
Create a Circle class and intialize it with radius. Make two methods printArea and printCircumference inside the class which prints the area and circumference of the circle

Sample Execution
Input
Enter radius(in meters) : 10

Output
Circumference: 62.8m
Area : 314 sq.m
No Comments

Sorry, the comment form is closed at this time.