<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def thub(data, n):
 """ Tee or "T" hub auto-copier to help working with Stream instances as well as with numbers. Parameters data : Input to be copied. Can be anything. n : Number of copies. Returns ------- A StreamTeeHub instance, if input data is iterable. The data itself, otherwise. Examples -------- With numbers: 0.0 Combining number with iterable: [0.5, 0.2, 0.0] [0.6, 0.2, -0.2] [-0.2, 0.5, -0.5, 0.0] This function can also be used as a an alternative to the Stream constructor when your function has only one parameter, to avoid casting when that's not needed: 250 [500, 500, 500, 500, 500] """

  return StreamTeeHub(data, n) if isinstance(data, Iterable) else data