%% date:: [[2023-04-02]] %% # [[Convert string to int in Python]] In [[Python]], you can convert a string to an int like this: ```python string = "41" number = int(string)+1 print(number) # Output: 42 ```