AttributeError: 'list' object has no attribute 'time'
SO i want this list of list timeList = [ [ ],[ ],[ ] ] to store my firstTime, secondtime and thirdTime but it throws me an error. any idea on this
from datetime import datetime, date,timedelta
timeList = [[],[],[]]
timeList[1].append(datetime.now())
secondTime=timeList[1].time() # throws an error
print(secondTime)