{}
A Python course that doesn't leave you guessing. See every step with our code visualizer.
Try it yourself!
A Python course that doesn't leave you guessing. See every step with our code visualizer.
Try it yourself!
run-icon
main.py
employee = ["Alex", "Bob", "Charlie", "Dave", "Michael"] salary = [8000, 20000, 30000, 80000, 110000] for name, cash in zip(employee, salary): print(f"{name:8} {cash:>12,.2f}")
Output