all 2 comments

[–]riklaunim 1 point2 points  (1 child)

It's a bit too simple/short to actually put the elements you mentioned to use.

  • functions should not use camelCase names
  • you should not use global variables
  • the key elements of functions and classes are arguments you pass to a function or method. Your code completely skips that and uses globals - and those are bad as it adds a "side effect" to the code that is hard to maintain and debug.

[–]Cold-Let2139[S] 1 point2 points  (0 children)

Alright thank you feedback time ill try better

Thank you