Hello guys, please what are mutable numbers?
Mutable means changeable, so lists and dictionaries are the first objects that come to mind, with regards to python. Basically, you can add to and take from. However, tuples are immutable and cannot be changed, but what about a list object inside a tuple?... A mutable object inside an immutable object? Well, you can update those too. x= for each in range(1,11): x.append(each) print(x) y=(,6,7) for each in range(1,6): y.append(each) print(y)
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?
Завершение процесса, код 3