You can use the int() function or the float() function to convert a string into a number.
`integer = int(“10”)` will convert the string “10” into an integer
`floating_point = float(“10.5”)` will convert the string “10.5” into a floating point number
Here is an example:
```
This script will output:
```
123
123.45
```
Please note that these functions will raise a ValueError if the string does not represent a valid number.