variable tag

41 questions


3 answers
134 views
0
Questions about global variables (python)

def print_sum(): a = 100 b = 200 result = a + b Inside print('print_sum() : ', a, ' and', b, 'the sum of ', result, '. ' )a = 10b = 20print_sum()result = a + bPrint ('print_sum() External: ', a, 'and'...

2 years ago
« - 5 -

© 2024 OneMinuteCode. All rights reserved.