expandir a matriz para um determinado tamanho Python
return some_list[:target_len] + [0 for _ in range(target_len - len(some_list))]
Real Raccoon
return some_list[:target_len] + [0 for _ in range(target_len - len(some_list))]
return some_list[:target_len] + [0 for _ in range(target_len - len(some_list))]
return some_list[:target_len] + [0 for _ in range(target_len - len(some_list))]
return some_list[:target_len] + [0 for _ in range(target_len - len(some_list))]
return some_list[:target_len] + [0 for _ in range(target_len - len(some_list))]
return some_list[:target_len] + [0 for _ in range(target_len - len(some_list))]
return some_list[:target_len] + [0 for _ in range(target_len - len(some_list))]
return some_list[:target_len] + [0 for _ in range(target_len - len(some_list))]