+ 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

11th Apr 2017, 1:18 PM
Emmanuel Nassour
Emmanuel Nassour - avatar
1 Odpowiedź
+ 5
a = 2 list = [a, 0, 3, 4] Right?
11th Apr 2017, 1:50 PM
MrCoder
MrCoder - avatar