first of all, hello to everyone! I'm a first timer in here! anyways, I had this problem and I dont have a real direction... I tried this:
def MyStars(inputList):
l = len(inputList)
ret = []
for x in inputList:
ret.append("* ")
print(ret)
but then I realised that the output is a string of * which last the number of integers I have in the original List... the outcome is:
['* ', '* ', '* ']
while I want it to be for the list [3,9,7] for example:
*** ********* *******
can someone help? tnx