Challenge: Using numbers and punctuation

Can you improve your program, so that it also chooses from:

  • Capital letters (A-Z)
  • Numbers (0-9)
  • Punctuation (!?.,-)

You’ll need to add to your chars variable. Remember to test your improved program!