def mergeArgs(a,b=None,c=None,d=None,e=None,f=None):
  """Concatenates input strings and objects if more than one as single string
  
  Parameters:
    * a (object or string): Message to be printed
    * b-f (object or string, optional): Message to be printed

  Returns:
    * str: Concatenated string

  Notes:
    * All objects are formatted to strings using the str() function
    * All outputs are automatically separated by spaces.
  """
  
  msg = str(a)
  if b != None:
    msg = msg+' '+str(b)
  if c != None:
    msg = msg+' '+str(c)
  if d != None:
    msg = msg+' '+str(d)
  if e != None:
    msg = msg+' '+str(e)
  if f != None:
    msg = msg+' '+str(f)
  return msg