Answer to Question #284726 in Python for Bhargav

Question #284726

def lucky_number(name):

  number = len(name) * 9

  ___ = "Hello " + name + ". Your lucky number is " + str(number)

  ___

      

print(lucky_number("Kay"))

print(lucky_number("Cameron"))


1
Expert's answer
2022-01-04T08:56:29-0500
def lucky_number(name):


    number = len(name) * 9
    res = "Hello " + name + ". Your lucky number is " + str(number)
    return res


print(lucky_number("Kay"))
print(lucky_number("Cameron"))

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS