You should always get in the habit of commenting on your code. If you annotate your code, it will make it easier for you to remember what you had meant to do (if you were to come back to it 10 months later 🙄) or it could help another programmer who is working with you better understand.
<aside> 👨🏽💻
Take a look at this 👇
https://codapi.org/embed/?sandbox=python&code=data%3A%3Bbase64%2CjY47DsIwEAV7n%2BJp05CCiqtwAcdZ8Arba%2ByNIm6P%2BBRIgJR63oxebVJsR8coHUkKY5WUMDFm6TX5G880ugHfXM5FG8%2Bubgv8nb07MFUaN9UwwB68%2BmbQEyzy72tEhAOuixp3hMbeuDuPvCST%2FdMImjMXc2uUEF%2B%2BT10xNfaXqlLMfcTu
</aside>
<aside> 💡 SO!....
the hash symbol (#) will create a comment on the line that will be ignored as Python processes the line of code.
triples quotes whether singles ''' or doubles """ will create a multi-line comment.
</aside>
Interestingly, if Python will create a multi-line comment with triple quotes, you’ll find that it will also print over several lines too inside a print function parenthesis.
<aside> 👨🏽💻
https://codapi.org/embed/?sandbox=python&code=data:;base64,KyjKzCvRUFJSCimqVCjJyCxW4ErMS1EoTk1V4MpMU8gs4SrPL8ouVlRSUtIEAA==
</aside>
https://youtube.com/shorts/B0Zye0nmyMw?si=6Eng5FVtldwvp_a-