Hi fellow Programmers,
I'm trying to get back onto the wagon with learning how to code with Python!
One of the things that I've had to put on the back burner for a little while was learning how to code with Python. I was doing pretty good for a while, getting in some coding learning every day or so but due to some recent events I fell off the wagon and had to put the education down. Thankfully, recently I've committed to getting back into it! I'm still getting the wheels back to spinning, oiling the joints up again.
Some of the websites and apps I'm using to learn this stuff is Hacker Rank and SoloLearn. Hacker Rank is one that seems to be more technically challenging, it's pretty interesting to use it. SoloLearn is an excellent app to use and it's got a lot of built in functionality and great things to use to help learn.
The tools to learn are accessible in so many places that it's a little tricky to narrow it down to what is good and what isn't. What's helpful and what's not. I'm looking forward to getting back into learning this stuff, it's not easy and I think with time, I can get pretty good at it.
One thing I'm trying to figure out is how to usefully put to practice what I'm doing. One of the best ways for me to learn something is to physically do it and figure out what I can do to put my learning into practice.
How do you take your programming learning and put it into practice? I would love to learn what others are using and doing to learn languages!
So far I've found some websites that are additional to what I'm doing
Using one of the websites, I got to a fun one that listed some projects to play around with. It helps to do this type of stuff because the more we do, the more we can learn! The one I was playing around with here was a random password generator. Not the most complicated stuff and I'm not too familiar with ASCII but I think I fared pretty well! The thing was built with uppercaseLetter1 and 2 only, the rest I was tasked with creating.
import random #A function do shuffle all the characters of a string def shuffle(string): tempList = list(string) random.shuffle(tempList) return ''.join(tempList) #Main program starts here uppercaseLetter1=chr(random.randint(65,90)) #Generate a random Uppercase letter (based on ASCII code) uppercaseLetter2=chr(random.randint(65,90))#Generate a random Uppercase letter (based on ASCII code) lowercaseLetter1 = chr(random.randint(97,122)) lowercaseLetter2 = chr(random.randint(97,122)) digit1 = chr(random.randint(48,57)) uppercaseLetter3=chr(random.randint(65,90)) #Generate more characters here #.... #Generate password using all the characters, in random order password = uppercaseLetter1 + uppercaseLetter2 + lowercaseLetter1 + lowercaseLetter2 + digit1 + uppercaseLetter3 # + .... password = shuffle(password) #Ouput print(password)
It was fun to play around with it and to also get more used to Markdown writing this post, I always wondered how folks were inserting lines of code into a post without screwing it up lol the three apostrophe looking things next to the number 1 on the keyboard seems to be the way!
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 2,470 PRE tokens, with a market value of $59.28. 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!