files = [1,2,3,4,5,6,7,8,9,10] training = files[:int(len(files)*0.8)] #[1, 2, 3, 4, 5, 6, 7, 8] validation = files[-int(len(files)*0.1):] #[10] testing = files[-int(len(files)*0.1):] #[10]