old_contents: # -*- coding: utf-8 -*-
  import random
  import requests
  import string
  
  def random_char():
      return random.choice(string.letters)
  
  def random_chuck_joke():
      try:
          data = requests.get("https://api.chucknorris.io/jokes/random").json()['value']
      except Exception:
          data = 'Chuck Norris doesn’t use web standards as the web will conform to him. AND YOU! CHECK YOUR INTERNET CONNECTION'
  
      return data
  
  def random_hex_color():
      alpha = '0123456789abcdef'
      hex_color = '#'
      for i in range(6):
          hex_color += random.choice(alpha)
      return hex_color
  
  def random_rgb_color():
      rgb_color = [random.randint(0,255),random.randint(0,255),random.randint(0,255)]
      return rgb_color
  
  def random_pokemon():
      num = str(random.randint(1,700))
      data = requests.get('https://pokeapi.co/api/v2/pokemon/'+num).json()
      my_pokemon = data['forms'][0]['name']
      return my_pokemon
  
new_contents: # -*- coding: utf-8 -*-
  import random
  import requests
  import string
  
  def random_char():
      return random.choice(string.letters)
  
  def random_chuck_joke():
      try:
          data = requests.get("https://api.chucknorris.io/jokes/random").json()['value']
      except Exception:
          data = 'Chuck Norris doesn’t use web standards as the web will conform to him. AND YOU! CHECK YOUR INTERNET CONNECTION'
  
      return data
  
  def random_hex_color():
      alpha = '0123456789abcdef'
      hex_color = '#'
      for i in range(6):
          hex_color += random.choice(alpha)
      return hex_color
  
  def random_rgb_color():
      rgb_color = [random.randint(0,255),random.randint(0,255),random.randint(0,255)]
      return rgb_color
  
  def random_pokemon():
      num = str(random.randint(1,700))
      data = requests.get('https://pokeapi.co/api/v2/pokemon/'+num).json()
      my_pokemon = data['forms'][0]['name']
      return my_pokemon
  
  def random_fake_persons():
      
            num = str(random.randrange(0,9000))
            person =requests.get('http://api.namefake.com/'+num).json()
                
            print "name : " +str(person['name'])
            print " address : " + str(person['address'])
            print " birth_data : " + str(person['birth_data'])
            print " height : " + str(person['height'])
            print " weight : " + str(person['weight'])
            print " eye : " + str(person['eye'])
            print " color : " + str(person['color'])
            print " hair : " + str(person['hair'])
            print " blood : " + str(person['blood'] ) 
            print " sport : " + str(person['sport'])
  
subject: Update tchamba.py