TypeError: can’t multiply sequence by non-int of type ‘float’

text = "ItsMyCode"

# floating-point value
n = 3.0
print(text*n)

Here is what the above code is Doing:
1. We create a variable called text and assign it the string “ItsMyCode”
2. We create a variable called n and assign it the floating-point value 3.0
3. We print the value of text multiplied by n

The output of the code is:
ItsMyCodeItsMyCodeItsMyCode