Nov-29-2017, 09:18 PM
Well you can turn any code into a function by indenting it and putting the def header above it. If you have a specific attempt, you should post it, since there's not much help we can provide without seeing the exact problem-code.