In R, I can use [assign](https://stat.ethz.ch/R-manual/R-devel/library/base/html/assign.html) to assign a value to a name in environment on the fly (rather than `<-`. 

Example:

```
> assign('x', 1)
> x
[1] 1

```

Does Python has an equivalent to assign rather than `=`?