0

How to modify values

using functions

29th Sep 2018, 4:18 PM
vanathi
vanathi - avatar
2 ответов
0
modify what type of values using functions? please try to be a bit more clear
29th Sep 2018, 4:32 PM
RZK 022
RZK 022 - avatar
0
do you mean: def add_one(a) a = a + 1 return a a = 2 a = add_one(a) print(a) output: 3
29th Sep 2018, 4:50 PM
Kevin Dietrichstein
Kevin Dietrichstein - avatar