WHAT I DID TODAY:
Today I finished up the remaining lessons on 'Strings and Console Output.' After that, I also did a quick review. So far in this whole course, I've completed 10% as of now.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_UOpFGZxvFQYVnBsxlRniLiAyVGGkLUOhEkbgim11SezzpFPX7-34yvlFiGB_hMiocOwilne5IhIr-fbHKqXlx-hYBtJE7qNUAXmN49guxCAoterfbA0e1J4ujEnwIPf-ibBm28Qr2VCL/s320/10.PNG) |
10% COMPLETION |
After that, I also did a quick review...
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC-inbrOjLVO-vEzhLh6oHl9GBiGpMPWaW22XWfyInvwO6Fyx9IHKYwGmCW_-jyeg5Yx4FDJjkaBvnCwMArkDPiHe3Jvyfgw-O904txay28DG0rg6ujtCKu8z6evvJCjlNfHE3a1pYPCsh/s400/review.PNG) |
REVIEW OF EVERYTHING I LEARNED |
Overall, most of the lessons in this unit seemed to be a bit similar to the very first unit aka 'introduction.' I did also learn a lot of new things too so I don't think it's a waste of time to review either because it just helps me become more used to the code.
WHAT I LEARNED:
- The first one is easy and is maybe already considered common sense, but to me, I totally didn't think of this. I found out you can use the + sign to add strings together. I thought you only use it for adding equations but I was wrong.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhownWYDOmNY50QWZwP6wsZQlgPgmNEaRJ5Wmo-Mwb3Pf53nCEqjAWlvj9sj5kfQ2jj1Tllpw447LhYab6tGSStbTdQQBSGSdUCgPShMmGyGcah-fT4WtBFS_z3rRfdQ0q0PWvm1Nuxsc6J/s400/combing+2+strinfs.PNG) |
ADDING STRINGS TOGETHER TO FORM SENTENCES |
- Another thing I learned that was completely new was the % command. Basically, it allows me to add strings and variables together. By using % I can use variables and strings in the same line of code. By doing so, it allows me to create more variations and different types of results.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK7EKR8oLev7XOG41futOcQcvgk-97MLYmJPkmEwzgEBcSrEEo06zxHPrKxYQqkLP1B0OIFwdACOWmyNncpP9aoxNBenNkLNj6RKa6awSiOyAtM1-M-qiK4g_BLf_0LbQlG5BZFxMc2biW/s640/dividin.PNG) |
EXAMPLE OF ME SEPARATING THE CODE
(ALSO THE VARIABLES LINE UP IN ORDER WITH THE %s |
WHAT I WILL BE DOING TOMORROW / NEXT TIME:
Tomorrow I will be continuing down Python 2, but a new Unit. I will be starting the 'Date and Time' Unit on 'Code Academy.'
No comments:
Post a Comment