import random
import time

def dice_number(d):
  if d == 1:
    print("Science Question: " + science_pick)
    if science_pick == science_list[0]:
      p time.sleep(2)
      print("Blue")

    elif science_pick == science_list[1]:
      time.sleep(2)
      print("118")

    elif science_pick == science_list[2]:
      time.sleep(2)
      print("Solar System")

    elif science_pick == science_list[3]:
      time.sleep(2)
      print("Marie Curie")

    elif science_pick == science_list[4]:
      time.sleep(2)
      print("To make honey")


  elif d == 2:
    print("English Question: " + english_pick)
    if english_pick == english_list[0]:
      time.sleep(2)
      print("William Shakespeare")

    elif english_pick == english_list[1]:
      time.sleep(2)
      print("Express excitement")

    elif english_pick == english_list[2]:
      time.sleep(2)
      print("link two related independent clauses")

    elif english_pick == english_list[3]:
      time.sleep(2)
      print("Past tense")

    elif english_pick == english_list[4]:
      time.sleep(2)
      print("No")


  elif d == 3:
    print("Math Question: " + math_pick)
    if math_pick == math_list[0]:
      time.sleep(2)
      print("4")

    elif math_pick == math_list[1]:
      time.sleep(2)
      print("81")

    elif math_pick == math_list[2]:
      time.sleep(2)
      print("To calculate hypotenuse")

    elif math_pick == math_list[3]:
      time.sleep(2)
      print("A sequence where a number is the sum of previous two numbers")

    elif math_pick == math_list[4]:
      time.sleep(2)
      print("πr^2")


  elif d == 4:
    print("History Question: " + history_pick)
    if history_pick == history_list[0]:
      time.sleep(2)
      print("September 1, 1939")

    elif history_pick == history_list[1]:
      time.sleep(2)
      print("Elizabeth I was Queen of England and Ireland from 1558 until 1603.")

    elif history_pick == history_list[2]:
      time.sleep(2)
      print("Egyptian Civilisation")

    elif history_pick == history_list[3]:
      time.sleep(2)
      print("Chinampas and Terracing")

    elif history_pick == history_list[4]:
      time.sleep(2)
      print("Yes")


  elif d == 5:
    print("Geography Question: " + geography_pick)
    if geography_pick == geography_list[0]:
      time.sleep(2)
      print("Large natural stream of water flowing in a channel to the sea, a lake, or another river.")

    elif geography_pick == geography_list[1]:
      time.sleep(2)
      print("Increases competition and lowers prices")

    elif geography_pick == geography_list[2]:
      time.sleep(2)
      print("Use renewable energy")

    elif geography_pick == geography_list[3]:
      time.sleep(2)
      print("Development of industries in a country")

    elif geography_pick == geography_list[4]:
      time.sleep(2)
      print("Europe")


  elif d == 6:
    print("General Knowledge Question: " + general_knowledge_pick)
    if general_knowledge_pick == general_knowledge_list[0]:
      time.sleep(2)
      print("7")

    elif general_knowledge_pick == general_knowledge_list[1]:
      time.sleep(2)
      print("Red, orange, yellow, green, blue, indigo and violet")

    elif general_knowledge_pick == general_knowledge_list[2]:
      time.sleep(2)
      print("5")

    elif general_knowledge_pick == general_knowledge_list[3]:
      time.sleep(2)
      print("Igloo")

    elif general_knowledge_pick == general_knowledge_list[4]:
      time.sleep(2)
      print("Giraffe")

science_list = ['What color does the sky appear?',
    'How many elements are there in the periodic table of elements',
    'Where is Earth located?',
    'Who discovered Radium?',
    'Why do bees collect nectar?']

science_pick = random.choice(science_list)

math_list = ['What is 2 + 2',
    'How can we simplify 9^2',
    'Why do we use Pythagorean Theorem',
    'What is Fibonacci sequence?',
    'How can we calculate area of a circle?']

math_pick = random.choice(math_list)

english_list = ['Who wrote Macbeth?',
    'Why do we use exclamation marks?',
    'What is use of semicolon?',
    'What tense are recounts written in?',
    'Can we capitalise common nouns?']

english_pick = random.choice(english_list)

history_list = ['When did World War 2 start?',
    'Who is Queen Elizabeth the First',
    'What civilisation is famous for building pyramids?',
    'How did Aztecs farm?',
    'Did British colonise India?']

history_pick = random.choice(history_list)

geography_list = ['What is a river?',
    'Why is trade important?',
    'How can we fight pollution?',
    'What is industrialisation?',
    'Which continent is Germany located in?']

geography_pick = random.choice(geography_list)

general_knowledge_list = ['How many days are in a week?',
    'What are the 7 colors of a rainbow?',
    'How many sides does a pentagon have?',
    'What is a house made of ice called?',
    'What is the tallest animal?']

general_knowledge_pick = random.choice(general_knowledge_list)

dice_number(6)