Jump to content

javier

Member
  • Posts

    50
  • Joined

  • Last visited

Reputation Activity

  1. Like
    javier reacted to GhostHitWall in Help with some code in Python 2   
    Not sure if I understand you correctly but I think this is what you are asking.
    def catego(lista):     l1=[]     for i in lista:         if i>=0 and i<=12:             l1.append("Niño")         elif i>12 and i<=17:             l1.append("Adolescente")         elif i>18 and i<=30:             l1.append("Joven")         elif i>30 and i<=45:             l1.append("Maduro")         elif i>45 and i<=65:             l1.append("Adulto")         else:             l1.append("Adulto Mayor")     return l1 Edades=[9,45,67,38,23,15,47] print(catego(Edades)) The above code gives me output like this, 
    ['Niño', 'Maduro', 'Adulto Mayor', 'Maduro', 'Joven', 'Adolescente', 'Adulto']
     
  2. Like
  3. Like
    javier reacted to minimalist in Cooler Master announces revised Nepton liquid coolers   
    Shocked they didn't know better. That tubing should go the way of the floppy disk. Also, could they have placed "Cooler Master" anywhere else?
  4. Like
    javier reacted to BROmoT in GTX 660: should i upgrade?   
    I have a 1080p monitor and i play mostly shooters and adventure games like assassins creed, splinter cell Titanfall etc. and i want to run them on high.
×