Discussions Q&R
{ 1, 2, 3, 4 {1, 5, 6, 7}, 5, 6, 3, 4} print(min(1, 2, 3, 4, 0, 2, 1))
print(max([1, 4, 9, 2, 5, 6, 8]))
print(abs(-99))
print(abs(42))
print(sum([1, 2, 3, 4, 5])) Is it possible to store 2, (5,12)both numbers are together, 3, (5,12), 3, (5,12) in an array in java?, if possible, how? mylist = [0, 1, 2, 3, 4, 5, 6, 7] for i in mylist: mylist.remove(i) print(myList)
output is
[1, 3, 5, 7]
Why not removing all 1. What will be the output?
1.
>>> m = [[x, x + 1 , x + 2] for x in ran
a) [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
b) [[0, 1, 2], [1, 2, 3], [2, 3, 4]]
c) [1, 2, 3, 4, 5, 6, 7, 8, 9]
d) [0, 1, 2, 1, 2, 3, 2, 3, 4] a =[ 1, 1, 2, 3, 5, 8, 19, 21, 34, 55, 89
]