#!/usr/bin/env python

import sys
import shuffler
import question

def run():
    question.write('Welcome to the Thiago\'s super spelling practice!', 'purple', 'underline', 'bold')
    question.write('')
    
    question.write('At any time, write q or quit or exit or leave to leave')
    question.write('')
    
    list_dragon_ball = ['Goku', 'Chi chi', 'Vegeta', 'Bulma', 'Gohan', 'Videl', 'Goten']
    list_1 = ['call', 'word', 'why', 'people', 'what', 'were', 'where', 'when', 'first', 'who', 'many', 'all']
    
    words = shuffler.shuffle_values(list_1)

    for word in words:
        ret = question.ask_word_question(word)
        if ret == False:
            return
        question.write('')
    
    question.write('Congratulations. You praticed all your words!', 'green')
    
    print ''
    print ''
    
run()

