@camium/

MysteriousMajorRepositories

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
print("Welcome to Cameron's History Lesson\n")


print("""If you would like to know about Gregor Mendel's Life please press (1)
If you would like to know about why Gregor chose to study pea plants please press (2)
If you would like to know conclusions he made please press (3)
If you would like to know about his legacy and why he was important so long after his death please press (4)""")
answer=int(input(""))
while answer != 1 and answer !=2 and answer !=3 and answer !=4:
  print("Please enter a number 1-4")
  answer=int(input("~~  "))
  if answer == 1:
    print("Gregor was born on the 20th of July 1822. He was a scientist, an Augustinian friar and an abbot. He is well known as the founder of modern science and genetics. He was born in part of the austrian empire and lived and worked on a farm that had been in the Mendel family for years. During childhood, Gregor worked as a gardener and studied beekeeping. As a young man, he studied theoretical philosophy and physics. His younger sister helped pay for his studies and in return (later in life) Gregor helped her 3 sons (His nephews), 2 of which became doctors.")
  if answer == 2:
    print("Pea plants have many distinct features and varieties, and because offspring could be quickly and easily produced. He cross-fertilize pea plants that had clearly opposite characteristics- tall with short, smooth with wrinkled.")
  if answer == 3:
    print("Mendel studied the genetics of pea plants, and he traced the inheritance of a variety of characteristics, including; flower, colour, flower position, seed colour, and seed shape. To do so, he started by crossing pure-breeding plants with different forms and characteristics, such as violet and white flowers. After his experiments, he came up with two conclusion: the Law of Segregation, which established that there are dominant and recessive traits passed on randomly from parents to offspring, and the Law of Independent Assortment, which established that traits were passed on independently of other traits from parent to offspring")
  if answer == 4:
    print("Gregor died on January 6th 1884 at the age of 61, with most his work largely unknown. It was decades later that noted scientists work on heredity and noticed the significance of his work and then it was more fully appreciated. ")
    #
if answer == 1:
    print("Gregor was born on the 20th of July 1822. He was a scientist, an Augustinian friar and an abbot. He is well known as the founder of modern science and genetics. He was born in part of the austrian empire and lived and worked on a farm that had been in the Mendel family for years. During childhood, Gregor worked as a gardener and studied beekeeping. As a young man, he studied theoretical philosophy and physics. His younger sister helped pay for his studies and in return (later in life) Gregor helped her 3 sons (His nephews), 2 of which became doctors.")
if answer == 2:
    print("Pea plants have many distinct features and varieties, and because offspring could be quickly and easily produced. He cross-fertilize pea plants that had clearly opposite characteristics- tall with short, smooth with wrinkled.")
if answer == 3:
    print("Mendel studied the genetics of pea plants, and he traced the inheritance of a variety of characteristics, including; flower, colour, flower position, seed colour, and seed shape. To do so, he started by crossing pure-breeding plants with different forms and characteristics, such as violet and white flowers. After his experiments, he came up with two conclusion: the Law of Segregation, which established that there are dominant and recessive traits passed on randomly from parents to offspring, and the Law of Independent Assortment, which established that traits were passed on independently of other traits from parent to offspring")
if answer == 4:
    print("Gregor died on January 6th 1884 at the age of 61, with most his work largely unknown. It was decades later that noted scientists work on heredity and noticed the significance of his work and then it was more fully appreciated. ")