Plus one

Report a typo

You are given a list of strings containing integer numbers. Print the list of their values increased by 1.

E.g. if list_of_strings = ["36", "45", "99"], your program should print the list [37, 46, 100].

The variable list_of_strings is already defined, you don't need to work with the input or define it again.

You should convert each element into an integer first.

Sample Input 1:

10 100 1000 10000

Sample Output 1:

[11, 101, 1001, 10001]
Write a program in Python 3
# please work with the variable 'list_of_strings'
___

Create a free account to access the full topic