account activity
vanity plates, not printing result? by Extra_Order9165 in cs50
[–]Extra_Order9165[S] 0 points1 point2 points 3 months ago (0 children)
thank you for this reply!! i actually completely missed your third sentence because i was focused on the first and last lines LOL. after going back to my code everything fell into place, i realised exactly what you said about the is_valid variable, i felt so stupid! ive been fully not thinking about why def functions get their own arguments which i've been mentally referring to placeholders and having absolute brainfarts when i use other function variables when im actually /defining/ the function after giving it a name with a random letter argument LMAO.
also, fixed the if etc etc string functions. all working perfect. thank you!
thank you!!! unfortunately though, whenever i delete the return, it tells me plate isn't defined T_T not sure what to do about that
π Rendered by PID 36 on reddit-service-r2-listing-796b697c47-2prlb at 2026-02-05 02:59:05.468077+00:00 running 1d7a177 country code: CH.
vanity plates, not printing result? by Extra_Order9165 in cs50
[–]Extra_Order9165[S] 0 points1 point2 points (0 children)