human
first index greater than a number in.
assistant
Here is a Python function to find first index greater than a number in a Python program

import random

def _first_index_greater_than(number, list):
    """Return the first index greater than a number in ``list``.

    """
    for idx, c in enumerate(list):
        if c > number:
            return idx
    return -1

# Enter the number
number = 10

# Enter the list
list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]

# Calling the function
print((_first_index_greater_than(number, list)))

#Example Output
# 10

#Remember to inspect code for bugs.