1def generator(): 2 random_int = randrange(2,10) 3 return { 4 "number": random_int, 5 "hellos": "hello "*random_int, 6 } 7