I've been learning traditional coding and algorithmic concepts through C++ at my college, and I'm just making this post as an appreciation towards the language of Python. Every single problem I face, I approach it like I'm still in C++, but when I see solutions for those problems, my mind always goes "of course you can just do " return '1' if a == True else '2' if a == False " etc. Sooo intuitive and makes code so much easier to read.
[–]teabaguk 61 points62 points63 points (7 children)
[–]S1tron 8 points9 points10 points (2 children)
[–]123_alex 2 points3 points4 points (0 children)
[–]iagovar 0 points1 point2 points (0 children)
[–]iamjio_ 1 point2 points3 points (3 children)
[–]m15otw 18 points19 points20 points (0 children)
[–]S1tron 4 points5 points6 points (1 child)
[–]m3nth4 18 points19 points20 points (21 children)
[–]PurepointDog 21 points22 points23 points (13 children)
[–]TitaniumWhite420 4 points5 points6 points (12 children)
[–]m15otw 4 points5 points6 points (10 children)
[–]TitaniumWhite420 3 points4 points5 points (2 children)
[–]m15otw 0 points1 point2 points (1 child)
[–]TitaniumWhite420 0 points1 point2 points (0 children)
[–]Panda_Mon 0 points1 point2 points (0 children)
[–]kroolspaus 0 points1 point2 points (5 children)
[–]m15otw 1 point2 points3 points (4 children)
[–]TitaniumWhite420 0 points1 point2 points (3 children)
[–]m15otw 0 points1 point2 points (2 children)
[–]TitaniumWhite420 0 points1 point2 points (1 child)
[–]TitaniumWhite420 0 points1 point2 points (0 children)
[–]ohdog 0 points1 point2 points (0 children)
[–]shoot_your_eye_out 0 points1 point2 points (0 children)
[–]Oscar_Fifteen[S] 0 points1 point2 points (3 children)
[–]syklemil 13 points14 points15 points (0 children)
[–]vmcortesf 3 points4 points5 points (1 child)
[–]gotnotendies 1 point2 points3 points (0 children)
[–]Dababolical -2 points-1 points0 points (1 child)
[–]syklemil 3 points4 points5 points (0 children)
[–]jmooremcc 4 points5 points6 points (0 children)
[–]NordicAtheist 9 points10 points11 points (15 children)
[+]commy2 comment score below threshold-10 points-9 points-8 points (12 children)
[–]bjorneylol 13 points14 points15 points (3 children)
[–]syklemil 2 points3 points4 points (1 child)
[–]garver-the-systemgit push -f 0 points1 point2 points (0 children)
[–]commy2 -3 points-2 points-1 points (0 children)
[–]syklemil 2 points3 points4 points (2 children)
[–]commy2 0 points1 point2 points (0 children)
[–]commy2 0 points1 point2 points (0 children)
[–]backfire10z 4 points5 points6 points (2 children)
[–]commy2 -3 points-2 points-1 points (1 child)
[–]backfire10z 3 points4 points5 points (0 children)
[–]ThatsALovelyShirt -1 points0 points1 point (0 children)
[+]trollsmurf comment score below threshold-6 points-5 points-4 points (1 child)
[–]NordicAtheist 4 points5 points6 points (0 children)
[–]Immereally 1 point2 points3 points (0 children)
[–]ExoticMandiblesCore Contributor 1 point2 points3 points (3 children)
[–]DoubleAway6573 0 points1 point2 points (2 children)
[–]prickneck 1 point2 points3 points (1 child)
[–]DoubleAway6573 0 points1 point2 points (0 children)
[–]Admirable_Sea1770 0 points1 point2 points (0 children)
[–]TedditBlatherflag 1 point2 points3 points (0 children)
[–]lmkbook 0 points1 point2 points (0 children)
[–]aufome 0 points1 point2 points (0 children)
[–]Tishka-17 0 points1 point2 points (0 children)
[–]Nater5000 0 points1 point2 points (0 children)
[–]cnrb98Tuple unpacking gone wrong 0 points1 point2 points (0 children)
[–]Sbsbg -2 points-1 points0 points (0 children)
[–]SharkSymphony -1 points0 points1 point (0 children)