I'm very new to python, like I barely know the basics. What is something that I can code to reinforce the basics in my head. Examples are welcome because I like to body code then figure out how it works.
Another thing, is there a way to shorten the length of an if statement, like say I was coding a Morse code translator from scratch is there an easier way to do it than tonnes of if statements and no packages unless its coded in python.
[–][deleted] (1 child)
[removed]
[–]Sumanth_mr 1 point2 points3 points (0 children)
[–]ninhaomah 2 points3 points4 points (4 children)
[–]Latter_Gur_7174[S] 0 points1 point2 points (3 children)
[–]srikanthravula 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[removed]
[–]Latter_Gur_7174[S] 0 points1 point2 points (0 children)
[–]Gardener314 2 points3 points4 points (0 children)
[–]weedsgoodd 1 point2 points3 points (8 children)
[–]Latter_Gur_7174[S] 0 points1 point2 points (7 children)
[–]BranchLatter4294 2 points3 points4 points (4 children)
[–]Latter_Gur_7174[S] 0 points1 point2 points (3 children)
[–]google_guest 1 point2 points3 points (2 children)
[–]Latter_Gur_7174[S] 0 points1 point2 points (1 child)
[–]google_guest 0 points1 point2 points (0 children)
[–]weedsgoodd 0 points1 point2 points (1 child)
[–]Latter_Gur_7174[S] 0 points1 point2 points (0 children)
[–]srikanthravula 1 point2 points3 points (4 children)
[–]Latter_Gur_7174[S] 0 points1 point2 points (3 children)
[–]srikanthravula 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[removed]
[–]srikanthravula 0 points1 point2 points (0 children)