for i in range(0, 9):
globals()[f"my_variable{i}"] = f"Hello from variable number {i}!"
print(my_variable3)
# Hello from variable number 3!
for x in range(0, 9):
globals()['string%s' % x] = 'Hello'
# string0 = 'Hello', string1 = 'Hello' ... string8 = 'Hello'
name = "a"
value = True
a_dictionary = {name: value}
print(a_dictionary["a"])