Advertisement
albin900

Untitled

Jun 18th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. currencies = [
  2. [ "BTC", [] ],
  3. [ "LTC", [] ],
  4. [ "ETH", [] ]
  5. ]
  6.  
  7. # update price
  8. for currency in currencies:
  9.   price = apiprice(currency)
  10.   currency[1] = price
  11.  
  12.  
  13. for currency in currencies:
  14.  print currency[1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement