Apr-18-2018, 08:06 PM
okay thanks it worked now the only I'm dealing with is a traceback error
1.Square
2.Rectangle
3.Triangle
4.Circle
5.Exit the program
What would you like to do?1
'1'
Square is selected.
Now input side1
Area is
Traceback (most recent call last):
File "C:/Users/tunji/Desktop/projecttwo.py", line 15, in <module>
print ("Area is"),side*side
TypeError: can't multiply sequence by non-int of type 'str'
>>>
1.Square
2.Rectangle
3.Triangle
4.Circle
5.Exit the program
What would you like to do?1
'1'
Square is selected.
Now input side1
Area is
Traceback (most recent call last):
File "C:/Users/tunji/Desktop/projecttwo.py", line 15, in <module>
print ("Area is"),side*side
TypeError: can't multiply sequence by non-int of type 'str'
>>>