Question: ```
import random

People = []

for x in range(0,3):
    name = input("Enter your name here:\n") 
    country = input("Here do you live:\n")
    age = input("How old are you:\n")
    person = (name, country, age)
    People.append(person)
    print(People)

for row in People(0,3):
    row = name,country,age
    print(name, "\t", country, "\t", age)

```

The error doesn't really make sense and every time I look for a solution, it doesn't seem relevant to my problem.

Answer: 
```
ng-repeat="5 > $index"

```

This is a bad approach. You need to have another list/array to iterate. Prepare the second array in the controller, make it empty in case the length of the first one is greater than or equal to 5, so it will disappear in that case. You shouldn't include too much magic in what data to show in the html, that logic belongs to your controller.
you can use ng-repeat-start and ng-repeat-end with div as td's wrapper (as an hack)

```
 <td class="researched" colspan="2" 
     ng-repeat-start="tech in userCtrl.chosenTechs1" 
 title="{{tech.name}}">{{tech.name}}</td>
   <div ng-repeat-end> 
    <td class="available" colspan="2" title="6 trade needed to learn level 1 tech" 
     ng-repeat="5 > $index">6</td>
 </div>

```