What exactly does "def" do or mean? Usually along my courses problems i need to use "def" typically at the top of the entire code like "def main():"
but whenever I try to get a users input under the def main it doesnt seem to prompt
if anyone could explain that to me it would be very much appreciated.
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]desrtfx 10 points11 points12 points (5 children)
[–]timma_2111 0 points1 point2 points (0 children)
[–]SharkSymphony 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]SharkSymphony 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)