Is This good for my first ever code project? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Is This good for my first ever code project?

https://code.sololearn.com/cL5NeEuqgAFf/?ref=app

19th Sep 2019, 10:55 PM
DeathPony333
DeathPony333 - avatar
4 Answers
+ 2
It's good, but two things could be improved. First, the use of global variables is usually discouraged. Try to define your variables inside a scope if possible, e.g. in this case inside main(). And second, if you look at your case statements, you'll notice some code is being repeated inside most of them. You could try to minimize your repetitions there. Be lazy. ;)
20th Sep 2019, 8:32 AM
Shadow
Shadow - avatar
+ 1
Not bad
20th Sep 2019, 9:56 PM
Uwajeh Henry
Uwajeh Henry - avatar
+ 1
If it is really your firts project,it is great!
21st Sep 2019, 7:57 PM
Highman
Highman - avatar
+ 1
Wow it's really wonderful, seeing this as your first project really means you are a genius. Keep it up👍👍👍
24th Sep 2019, 10:54 PM
Victor Ikechukwu
Victor Ikechukwu - avatar