Back to Lesson
Pairing Coordinates
Parallel process arrays seamlessly executing zip features.
Instructions
- Givenand
x_coords = [5, 10, 15].y_coords = [-2, 4, 8] - Generate a list of formatting strings matching positional pairs.
- Loop throughand print the respective pairs inside a string formatted like
zip(x, y).Point (X, Y)
main.py
main.py
Ctrl + Enter