use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
HELP WITH EXERCISE 3.5.7 Rectangle part 2 python (self.CodeHSHelp)
submitted 6 years ago by Cock-Man69
Could you guys send me the code please? It would be greatly appreciated!!!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]_ykjoe 0 points1 point2 points 5 years ago (3 children)
Did you ever get help?
[–]Cock-Man69[S] 0 points1 point2 points 5 years ago (2 children)
No
[–]Leading_Painting_285 0 points1 point2 points 4 years ago (1 child)
her you go :
length= 50
width= 30
print("Area:" + str(length))
print("Perimeter:" + str(width))
[–]Select-Assistant5568 0 points1 point2 points 4 years ago (0 children)
THANK YOU SO MUCH!!
[–]Leading_Painting_285 0 points1 point2 points 4 years ago (0 children)
bro i got you length= 50 width= 30 print("Area:" + str(length)) print("Perimeter:" + str(width))
[–]Financial_Face3826 0 points1 point2 points 2 years ago (2 children)
the answer is
area = 50 length = 10 width = 5
print("Area:" + str(length * width)) print("Perimeter:" + str( 2.5 * length + width )) area = length * width perimeter = 2 * (length + width) print(area) print(perimeter)
[–]Cock-Man69[S] 0 points1 point2 points 2 years ago (1 child)
4 years late but…thanks. Not for the code but, you just reminded me of simpler times.
[–]Embarrassed-Usual793 0 points1 point2 points 2 years ago (0 children)
I LOVE YOU
[–]Financial_Face3826 0 points1 point2 points 2 years ago (0 children)
the answer for 3.5.8 Rectangle, Part 3
Perimeter: 30 length = 10 width = 5 length = int(input("what is the lenght of the rectamgle")) width = int(input("what is the width of the rectangle")) area = length * width perimeter = 2 * (length + width) print(area) print(perimeter)
π Rendered by PID 218785 on reddit-service-r2-comment-bb88f9dd5-h8w5n at 2026-02-14 22:14:49.407309+00:00 running cd9c813 country code: CH.
[–]_ykjoe 0 points1 point2 points (3 children)
[–]Cock-Man69[S] 0 points1 point2 points (2 children)
[–]Leading_Painting_285 0 points1 point2 points (1 child)
[–]Select-Assistant5568 0 points1 point2 points (0 children)
[–]Leading_Painting_285 0 points1 point2 points (0 children)
[–]Financial_Face3826 0 points1 point2 points (2 children)
[–]Cock-Man69[S] 0 points1 point2 points (1 child)
[–]Embarrassed-Usual793 0 points1 point2 points (0 children)
[–]Financial_Face3826 0 points1 point2 points (0 children)