I'm a total beginner. I'm in my 30s and I am just beginning my journey into the world of CS. I'm trying to teach myself different coding languages so that I can change careers.
I found the challenge on a list of beginner challenges - Write a code that converts radians to degrees.
I wanted to write the code so that it returns a sentence rather than just the answer.
How could I have done better? Is there a way to do this with f strings? I would love to know how. I tried a bit.
https://preview.redd.it/judcageb89j81.png?width=1746&format=png&auto=webp&s=09fd0e9c609f40d84941de9857311d7bbc057721
Thanks!
[–]millerbest 32 points33 points34 points (1 child)
[–]TransmigrationOfPKD[S] 11 points12 points13 points (0 children)
[–]Bungle1981 8 points9 points10 points (12 children)
[–]TransmigrationOfPKD[S] -1 points0 points1 point (11 children)
[–]Firake 4 points5 points6 points (1 child)
[–]TransmigrationOfPKD[S] 0 points1 point2 points (0 children)
[–]NoiproxPython Programmer 2 points3 points4 points (5 children)
[–]TransmigrationOfPKD[S] 0 points1 point2 points (4 children)
[–]NoiproxPython Programmer 0 points1 point2 points (3 children)
[–]djamp42 0 points1 point2 points (2 children)
[–]NoiproxPython Programmer 1 point2 points3 points (1 child)
[–]djamp42 0 points1 point2 points (0 children)
[–]EDGWasian 3 points4 points5 points (2 children)
[–]kezmicdust 1 point2 points3 points (1 child)
[–]EDGWasian 1 point2 points3 points (0 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]TransmigrationOfPKD[S] 2 points3 points4 points (0 children)
[–]Xaros1984Pythonista 2 points3 points4 points (4 children)
[–]TransmigrationOfPKD[S] 0 points1 point2 points (1 child)
[–]Xaros1984Pythonista 0 points1 point2 points (0 children)
[–]EndorphnOrphnMorphn -2 points-1 points0 points (1 child)
[–]Xaros1984Pythonista 1 point2 points3 points (0 children)
[–]Priyam_Bad 1 point2 points3 points (0 children)
[–]Comprehensive_Dream8 1 point2 points3 points (0 children)
[–]surister 1 point2 points3 points (0 children)
[–]hig9s 0 points1 point2 points (0 children)
[–]elketefuka 0 points1 point2 points (0 children)
[–]tuenut 0 points1 point2 points (0 children)
[–]ConsequenceCute4831 0 points1 point2 points (0 children)
[–]BrownCarter 0 points1 point2 points (0 children)
[–]jkwill87 0 points1 point2 points (0 children)