Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. print("Food Origin Vegetarian Calories")
  2. print("----------------------------------- ------------ ---------- --------")
  3. foods.sort()
  4. for i in foods:
  5. print("{:<35} {:<12} {:>10} {:>8}".format(i.name,Food.ORIGIN[i.origin],str(i.is_vegetarian),i.calories))
  6. #35, 12, 10, 8
  7. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement