input: Write a function to tokenize a given text using NLTK's word_tokenize function. The function should take a string as input and return a list of tokens.
  import nltk 
  from nltk.tokenize import word_tokenize 
  
  def tokenize_text(text):
      return word_tokenize(text)
  
  assert tokenize_text('Python is an interpreted, high-level, general-purpose programming language.') == ['Python', 'is', 'an', 'interpreted', ',', 'high-level', ',', 'general-purpose', 'programming', 'language', '.']
  assert tokenize_text('Natural Language Processing is fascinating.') == ['Natural', 'Language', 'Processing', 'is', 'fascinating', '.']
  assert tokenize_text('') == []
  assert tokenize_text('Hello world!') == ['Hello', 'world', '!']
  assert tokenize_text('Python 3.9 is the latest version.') == ['Python', '3.9', 'is', 'the', 'latest', 'version', '.']
output: def tokenize_text(text):
      return word_tokenize(text)