I have a problem in printing parameters, here is my code:
length = 5
breadth = 2
area = length * breadth
print('Area is', area)
print('Perimeter is', 2 * (length + breadth))
I expect to have this out put:
Area is 10
Perimeter is 14
But what I see a an out put is this:
('Area is', 10)
('Perimeter is', 14)
Is there anybody who can help me with this printing problem?
Thanks in advance.

New Topic/Question
Reply



MultiQuote






|