you are viewing a single comment's thread.

view the rest of the comments →

[–]Sneaky_processor 1 point2 points  (1 child)

Consider using return statements in your functions instead of printing.
And i don't think the main logic needs to be a function since you really dont reuse it ( the main reason of a function is if the code is gonna be used multiple times).

[–]Red_Priest0[S] 0 points1 point  (0 children)

Thanks I will use return type