I have a pandas dataframe in the following format:

```
User    app      percent
1        a         0.8
1        b         0.3
1        c         0.2
1        d         0.9
1        e         0.6
1        f         0.8
1        g         0.4
1        h         0.2
1        i         0.1
1        j         0.6

```

Each user has at least 10 apps.

I need a loop that will add to each user rows with the value of 0.5 in the percent column.

The sum of rows will be 50 for each user.

For example, user number 1 has 10 apps so the loop needs to go over 10 values in the table and generate 40 rows of 0.5 value.

The final cell will multiply the 10 values (percent column) in the above table and multiply this with 0.5 value-40 times.

This is the calculation for user number 1:

```
  0.8* 0.3* 0.2* 0.9* 0.6* 0.8* 0.4* 0.2* 0.1* 0.6* 0.5* 0.5*.....*0.5

```