import requests
from ipywidgets import interact

@interact
def say(text='hello', times=[0,10]):
    print(text * times)
hellohellohellohellohello