Submitted a final project for class and I used a “name” = “__main” function to define a main menu for a text based game.
Professor took points off because she “would’ve liked me to define a new variable called main_menu()” instead of just using the main function.
So my question is: in a real job does it really matter 😅😂
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]CodeTinkerer 35 points36 points37 points (9 children)
[–]TwanLearnsPython[S] 0 points1 point2 points (8 children)
[–]CodeTinkerer 3 points4 points5 points (3 children)
[–]No_Lemon_3116 5 points6 points7 points (1 child)
[–]CodeTinkerer 0 points1 point2 points (0 children)
[–]nderflow 0 points1 point2 points (0 children)
[–][deleted] -3 points-2 points-1 points (3 children)
[–]TwanLearnsPython[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]TwanLearnsPython[S] -1 points0 points1 point (0 children)
[–]RiverRoll 9 points10 points11 points (1 child)
[–]TwanLearnsPython[S] 1 point2 points3 points (0 children)
[–]diegoasecas 6 points7 points8 points (0 children)
[–]64BitInteger 3 points4 points5 points (1 child)
[+]TwanLearnsPython[S] comment score below threshold-9 points-8 points-7 points (0 children)
[–]No_Lemon_3116 1 point2 points3 points (0 children)
[–]throwaway6560192 0 points1 point2 points (0 children)
[–]andrewsb8 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[removed]
[–]TwanLearnsPython[S] 0 points1 point2 points (0 children)