Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lista01 = [10, 1, 16, 25, 9, 45, 12, 35, 12, 5, 6]
- lista02 = [10, 2, 234, 20, 99, 21, 12, 5, 4, 12, 44]
- lista03 = []
- lista04 = []
- for i in range(len(lista01)):
- lista03.append((lista01[i]*lista01[i])+(lista02[i]*lista02[i]))
- print(lista03)
- for i in lista03:
- if i > 200:
- lista04.append(lista03.index(i))
- print(lista04)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement