os = ['Windows', 'macOS', 'Linux']
print('Original List:', os)
o=os.reverse()
print('Updated List:', o)
the output is None! why doesnt the assignment of reverse to o gives me a reversed list?
i also used
os.reverse
and then simply printed it and it worked! then why does the assignment of the same to o gives me nothing? pretty confused over it