r/PythonLearning • u/Acceptable_Simple877 • Aug 18 '25
Day 2 - made this
Made this by myself (for the most part, made dumb errors here and there) after following Bro Codes Python guide for a bit.
177
Upvotes
r/PythonLearning • u/Acceptable_Simple877 • Aug 18 '25
Made this by myself (for the most part, made dumb errors here and there) after following Bro Codes Python guide for a bit.
11
u/No_Statistician_6654 Aug 18 '25
This is a great start. One question to ask yourself: what happens if a user types Rectangle, or triangle, or CiRcLE, or “ circle” <- quotes to show the space.
Would these be invalid shapes?
String trim and upper or lower are good things to look into when dealing with user input usually. There are cases where it isn’t, but you can discover that along the way.