The program that generates a random number between 1 and 10 and print your name that many times is as follows:
import random
a = random.randint(1,10)
name = input("write your name: ")
print(a * (name+"\n") )
The program that generates a random decimal number between 1 and 10 with two decimal places of accuracy is as follows:
import random
print(round(random.uniform(1, 10), 2))
1.
2.
learn more on python program here: https://brainly.com/question/16403687?referrer=searchResults