+ 1
How to include a numeric variable in a list
so i want to include a variable "a" which would be treated as an integer inside a list. i also need to use "a" in operations later on thank you
1 ответ
+ 5
a = 2
list = [a, 0, 3, 4]
Right?
so i want to include a variable "a" which would be treated as an integer inside a list. i also need to use "a" in operations later on thank you