Skip to content
Sign upLog in
← Back to Community

area and perimeter of rectangle

Profile icon
DhruvNation

thnx repl.it for this good platform

Voters
Profile icon
IsabellaBechard
Profile icon
JustenWashingto
Profile icon
MRBrexy
Profile icon
noodles37
Profile icon
oignons
Profile icon
PadmabhiPadhiya
Profile icon
DhruvNation
Comments
hotnewtop
Profile icon
[deleted]

why a key?

Profile icon
DhruvNation

@Thecrowbar1234
thnx for asking the question.
By key i mean the keyboatd key do for area (a) & (p) for perimeter.i will modify my program and make it more clear.

Profile icon
oignons

Great start, a few things that i would like to suggest though:

  • You can make it case sensitive by using the lower() or upper() functions
  • Instead of having the area or perimeter question last,you can do it first, its clearer that way
    Great job! This is really cool, and I encourage you to do more, it is a nice program :)
Profile icon
DhruvNation

@ipastrano
thnx for suggesting .plz keep on encouraging people like this.

Profile icon
oignons

@DhruvNation
You're welcome! Anytime, I'm here to help :)

Profile icon
PadmabhiPadhiya

Nice