Learning Python: Episode 2

in STEMGeeks9 months ago

Hi fellow STEM fans,

Today I've made some progress on my goal of learning how to code with Python. Slowly getting there, really hoping that I can finish up the education modules by the middle of January. This is with the SoloLearn app if anyone is interested in trying it out yourself!

Hive Divider Bar Text.png

Serpentine Language

Python has been a pretty cool language to learn. I think it should have some good use-cases for me in my future endeavors. This past week I was looking at an email from one of the organizations I belong to and they included a link to some projects they recommend people check out. I found 4 out of the 19 or so that were based on Python! I am hoping that this will be a solid choice for me. The harder part is getting the exposure and experience I need.

So this was a nifty feature that I just recently learned. You can take notes in your code to explain what a section does. I think I will be utilizing this pretty often, at least in the beginning lol. Hopefully I get to a point where I might not need to use it but we'll see! By putting three quotation marks in a row between some rows of text you can eliminate it from being attempted as code to be run. This allows you to essentially take notes for future reference. Sweet!

306F44FBFBA84722BEAF85DFCB79E3D3.png

This here was one of the hardest code challenges I have had to work with so far. I had to create a Celsius to Farenheit converter code. The software gave me line 1-4 then line 7-9 but otherwise I had to write the code to actually get the function to work. I wracked by brain for days on how to write it! I kept coming up short. I gave in and asked the SoloLearn community for some help and was sad that I missed such a simple mistake. That's the way it goes with learning things though, and with coding lol. Just need a different set of eyes on it to help guide you!

7706DE1546964CC4889984EBDAE73FB8.png

Below is the other really hard challenge that I had to figure out. Apparently FizzBuzz is a common problem that is given to coders in an interview and they have to solve it. I'm stoked to say that I solved it on my own without asking for help!

They gave you the gist of the formula and you had to specify if something was an odd number or 15 then it finishes. I think, looking back on it, I put in line 5 and 6 and line 9 and 10 to complete the code and it worked. Score!

8F8E49C4137E4EE7BD53A167E84BCD35.png

One of the great things is that I'm nearly halfway done with the lessons. I still have a significant amount of things to learn but it's good to know that I'm progressing! I have been looking for ways to go back and test my knowledge on the previous lessons but some of the best ways to do that costs money and that's not in the cards for me now lol so I am going to redo the lessons once I get to halfway completed. I think by the time I finish this last section here I will be at 50% so next up will be just going back and making sure I remember the material.

D3D522296C41426496D3ABD9826F81D3.png

Here's to another few more lessons under my belt, looking forward to the next ones!

Hive Divider Bar Centered.png

Connect with me!

Do you want to get paid, in crypto, for searching the internet? Try using and signing up for Presearch to earn some great crypto! I've currently got 1,983 PRE tokens, with a market value of $32.89. It doesn't sound like a lot but when you search using sites like Google you get paid $0! Join Presearch to break Google's stranglehold on the internet searches. If you'd like to sign up, use my referral link!
https://www.presearch.org/signup?rid=513043

Posted with STEMGeeks

Sort:  

I absolutely love python.

During my last year in the university I did most of my Data Analysis using Python.

That's great to hear. I'm getting some really challenging stuff for the code writing part which isn't bad. Better than c++ I think lol.

Any tips or resources for Python you can recommend?

Well my teacher was absolutely amazing so half of the things I learnt was directly from him .
Rest - Internet ( all over the internet to be honest ) + Udemy courses are amazing.

What app or webpage are you using?

It's called SoloLearn you should try it! You can learn so many different programming languages for free it's amazing!

Ah, I have already tried that :D
I used a youtube video for a 6 hours course. Got pretty far, but never finished it xD

Yeah I'm determined to not be lazy and actually do this. I've been trying to do this for 2 years lol. Jobs are going to be obnoxious in the near future so I'm trying to position myself better and be able to find more opportunities.

I get it.
I want to learn it but not really. It was just a quick interest xD
I might do it in the future, but now I need to focus on build my own business as a Financial Life Coach first :D

But ye ubderstandable

Good progress... best of luck for remaining lessons..