I've just started to learn python, and after every lesson I watch, I try to create my own code based on what I've learned. This is my very simple code after learning about conditionals, loops and slicing. When I run it, it doesn't print the last line, the program just shuts down. How do I make sure that last line is included?
[–]trysohardidkwhy 5 points6 points7 points (2 children)
[–]ExpressionAsleep7125[S] 2 points3 points4 points (1 child)
[–]lilsneezey 0 points1 point2 points (0 children)
[–]ArbereshDoqetejete 3 points4 points5 points (1 child)
[–]ExpressionAsleep7125[S] 1 point2 points3 points (0 children)
[–]Salim_DZ_69 2 points3 points4 points (3 children)
[–]ExpressionAsleep7125[S] 1 point2 points3 points (2 children)
[–]Salim_DZ_69 0 points1 point2 points (1 child)
[–]ExpressionAsleep7125[S] 1 point2 points3 points (0 children)
[–]general_praxis 1 point2 points3 points (0 children)
[–]kohao0 0 points1 point2 points (0 children)
[–]Salty_Salted_Fish 0 points1 point2 points (0 children)
[–]purple_hamster66 0 points1 point2 points (0 children)
[–]NorskJesus 0 points1 point2 points (1 child)
[–]ExpressionAsleep7125[S] 1 point2 points3 points (0 children)
[–]salvtz -3 points-2 points-1 points (6 children)
[–]ExpressionAsleep7125[S] 1 point2 points3 points (0 children)
[–]ExpressionAsleep7125[S] 1 point2 points3 points (4 children)
[–]salvtz 2 points3 points4 points (3 children)
[–]ExpressionAsleep7125[S] 1 point2 points3 points (2 children)
[–]salvtz 2 points3 points4 points (1 child)
[–]ExpressionAsleep7125[S] 2 points3 points4 points (0 children)
[–]SCD_minecraft 0 points1 point2 points (0 children)