Q. Complete the code to create a list of every integer between 0 and 100, inclusive, named nums1 using Python, sorted in increasing order.

 

Answer =


nums1 = []
for i in range (101) :
      nums1 += [ i ]
nums1.sort()
print (nums1)


Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post