0

I'm trying to make a simple logger function (I'm not a python expert):

def logger(*argv):
  print(argv)

log('Ok', 'this', 'is', 'a', 'log')

Current output: ('Ok', 'this', 'is', 'a', 'log')

Desired output: Ok this is a log

How can I format the argv to just pass the log through?

Kevin Danikowski
  • 4,620
  • 6
  • 41
  • 75

0 Answers0