repl.it
@RoselyAlvaradoV/

faviorite number

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
fav_num = {"Kelly": 5, "Jesica": 3, "Devin": 13, 'Zoe': 15, 'Nicole': 14} #dictonary set up 
for key, value in fav_num.items():
  #goes through dictonary and adds values to everyones name   
  print(key + ": ")
  key = [value, value+1, value+2, value+9]
  print(key)