I'm new to python so let me know if I need more information, but here's what I have:

```
add=0
new=[]
for i in range(len(daytime['hours'])):
    if daytime['hours'][i]<=1:
        add=1
        daytime['hours'][i]=add
    if daytime["hours"][i]>1 and daytime["hours"][i]<2:
        add=2
        daytime['hours'][i]=add
    if daytime["hours"][i]>2 and daytime["hours"][i]<3:
        add=3
        daytime['hours'][i]=add   
    if daytime["hours"][i]>3 and daytime["hours"][i]<4:
        add=4
        daytime['hours'][i]=add
    if daytime["hours"][i]>4 and daytime["hours"][i]<5:
        add=5
        daytime['hours'][i]=add
    if daytime["hours"][i]>5 and daytime["hours"][i]<6:
        add=6
        daytime['hours'][i]=add
    if daytime["hours"][i]>6 and daytime["hours"][i]<7:
        add=7
        daytime['hours'][i]=add 
    if daytime["hours"][i]>7 and daytime["hours"][i]<8:
        add=8
        daytime['hours'][i]=add  
    if daytime["hours"][i]>8 and daytime["hours"][i]<9:
        add=9
        daytime['hours'][i]=add  
    if daytime["hours"][i]>9 and daytime["hours"][i]<10:
        add=10
        daytime['hours'][i]=add  
    if daytime["hours"][i]>10 and daytime["hours"][i]<11:
        add=11
        daytime['hours'][i]=add  
    if daytime["hours"][i]>11 and daytime["hours"][i]<12:
        add=12
        daytime['hours'][i]=add  
    if daytime["hours"][i]>12 and daytime["hours"][i]<13:
        add=13
        daytime['hours'][i]=add 

```

I'm trying to make every data within an hour equal to the corresponding hour, but this is 13 if statements for 13 hours! I know there must be a way to *shorten it.*

I thought of doing add= i + 1 and adding on that, but it did not give me what I wanted.

The output **I have (And want)** is this: [Each activity is accordingly labelled with the hour range, first hour, second hour... until the 13th hour](https://i.stack.imgur.com/0FYd4.png)