Length of a list in Python
Using the function len you can find the length of a list:
pythonlst = [1, 2, 3]
print(len(lst)) # 3
Задание 1
Given a list:
pythonlst = ['a', 'b', 'c', 'd']
Find its length.
Задание 2
Given a string:
pythontst = '12abc45'
Create a list from it and print its length to the console.