Advertisement
KodingKid

Python car sorter

Mar 29th, 2021
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. mytuple = ("Alfa Romeo", "Bugatti", "Chevrolet", "Dacia") #these car names besides Chevrolet are found in a similar script to this I made https://pastebin.com/qPiCSyVD
  2. myit = iter(mytuple)
  3. print(next(myit))
  4. print(next(myit))
  5. print(next(myit))
  6. print(next(myit))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement