Write a loop in python that can get the first 10 categories in python.
Display on the first 10.
Please find the code below.
CODE
============
# first get the categories
categories = cnn_paper.category_urls()
# now find the minimum of categories length and 10
# if there are less than 10 categories, print all of them
length = min(10, len(categories))
# now, print categories upto length
for i in range(length):
print(categories[i])
Write a loop in python that can get the first 10 categories in python. Display on...