0
a=int(input('length')) b=int(input('breadth')) c=2*(a+b) d=input('whose perimeter do you want ?') if d='square' print(a,b,c)
What is the error of this code ?
1 Resposta
+ 5
if d == square
Do not confuse = and ==
Please DO NOT put code in the heading, it gets cut off and we can't see it. Put it IN A SCRIPT ON CODE PLAYGROUND.