How does Python support randomly chosen variable names? [closed]

Solution
anyweirdname = 'foo'
print(f"Hello, {anyweirdname}")