Advertisement
JPablos

Diccionario simple. Python

Apr 13th, 2021
859
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. #!/usr/bin/env python3
  2.  
  3. T = dict(hora = 24, minuto = 59, segundo = 60)
  4.  
  5. print(T, '\n')
  6.  
  7. for i in T:
  8.     print(f'{i:<8} : {T[i]:^3}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement