Jeffrey LamTheRealJboyJames Hutchinson
Published

U.M.F.P.P. Local Frog & Toad Preservation

(Unofficial Massachusetts Frog Python Program)Raising awareness of the extinction of the local Eastern Spadefoot Toad with a Python program.

Protip458
U.M.F.P.P. Local Frog & Toad Preservation

Story

Read more

Code

U.M.F.P.P. Project

Python
It is a project based on frogs and toads of MA, focusing on the endangered local Eastern Spadefoot Toad. You read along the text and can visit the provided website links. You choose what you want to learn about with the provided input slot.
import time
print ("      ")
print ("Hello! Welcome to the U.M.F.P.P.!")
print ("(Unnofficial Massachusetts Frog Python Program)")
print ("This specifies in Frogs of Massachussets!")
time.sleep(5)
print ("================================================")
print ("What would you like to learn?")
print ("================================================")
print ("    ")
print ("Type 1 for a full list of frogs and toads in MA!")
print ("Type 2 for endangered species")
print ("Type 3 for cool frog facts!")
print ("Type 4 for the sources!")
print ("Why are frogs important? Type 5!")
print ("Type in 6 for our webpage!")
print ("OFF TOPIC: Type in 7 for cool digital patterns!")
print ("       ")
print ("______________")
a = input("Enter here: ")
print ("--------------")
if a == '1':
    print ("Here is a full list of the frogs")
    print ("of MA in alphabetical order:")
    print ("================================================")
    time.sleep(3)
    print ("================================================")
    print ("American Bullfrog (Lithobates catesbeianus)")
    print ("American Toad (Anaxyrus americanus)")
    print ("Eastern Spadefoot Toad (Scaphiopus holbrookii)")
    print ("Fowler's Toad (Anaxyrus fowleri)")
    print ("Gray Treefrog (Hyla versicolor)")
    print ("Green Frog (Lithobates clamitans)")
    print ("Northern Leopard Frog (Lithobates pipiens)")
    print ("Pickerel Frog (Lithobates palustris)")
    print ("Spring Peeper (Pseudacris crucifer)")
    print ("Wood frog (Lithobates sylvaticus)")
    print ("================================================")
    time.sleep(5)
    print ("CLICK THE LINK BELOW FOR A DESCRIPTION OF EACH ONE")
    print ("https://sites.google.com/site/frogwebsite/event-calendar")
if a == '2':
    print ("Here is a full list of endangered")
    print ("frogs and/or toads that are native")
    print ("to MA!")
    print ("================================================")
    time.sleep(3)
    print ("Thankfully, most species are not endangered.")
    time.sleep(2.5)
    print ("-------------------------------")
    print ("However, there is one species considered")
    print ("'threatened' in MA:")
    print ("-------------------------------")
    print ("The Eastern Spadefoot Toad")
    time.sleep(5.5)
    print ("They breed in massive numbers overnight,")
    print ("traveling to vernal pools to lay their eggs.")
    time.sleep(2)
    print ("But due to the construction of new buildings and so on,")
    print ("the vernal pools are being destroyed.")
    time.sleep(2)
    print ("This disrupts their life cycle,")
    print ("and prevents them having offspring,")
    print ("severely damaging their population.")
    time.sleep(4.5)
    print ("But there are groups working towards")
    print ("preventing their extinction.")
    time.sleep(6)
    print ("         ")
    print ("One of which is the Mass Audobon Society.")
    print ("Here is their link:")
    print ("https://www.massaudubon.org/get-outdoors/wildlife-sanctuaries/long-pasture/about/headstarting-spadefoot-toads")
    time.sleep(10)
    print ("      ")
    print ("There are ways you can help to stop it, too:")
    print ("     ")
    print ("1) Stop using pesticides! They poison frogs!")
    print ("Also, they are bad for a lot of other animals!")
    time.sleep(5)
    print ("2) Don't put exotic fish in outdoor ponds!")
    print ("Spadefoot toads already don't have a lot of")
    print ("habitat! Don't ruin another one for them!")
    time.sleep(5)
    print ("3) Support organizations helping the eastern ")
    print ("spadefoot toads!")
if a == '3':
    print ("=================================================")
    print ("1) Frogs can absorb water through their skin to drink!")
    print ("So don't touch them! The oil on human hands can hurt them!")
    time.sleep(2)
    print ("2) Frogs shed their skin approx. once a week!")
    time.sleep(2)
    print ("3) The spring peeper is named for its peeping call during")
    print ("the springtime!")
    time.sleep(2)
    print ("4) Spadefoot toads can dig holes with a ''spade'' on their feet!")
if a == '4':
    print ("================================================")
    print ("Here are the sources used to provide the info. on this program:")
    print ("https://www.massaudubon.org/learn/nature-wildlife/reptiles-amphibians/frogs/frog-species-in-massachusetts")
    print ("http://www.takepart.com/article/2015/06/04/how-stop-virus-killing-wild-frogs")
    print ("https://www.smithsonianmag.com/science-nature/14-fun-facts-about-frogs-180947089/")
    print ("http://www.ct.gov/deep/cwp/view.asp?a=2723&q=326002")
if a == '5':
    print ("So why ARE frogs so important?")
    print ("They are important for a number of reasons.")
    print ("       ")
    time.sleep(5)
    print ("1) They are the food of a food chain")
    print ("and if they were to die out, a lot of other")
    print ("species would also. And it could effect us.")
    print ("================================================")
    time.sleep(5)
    print ("2) They are predators, too. Without them to eat")
    print ("insects, insect carried diseases are bound to spread")
    print ("and effect humans! Also, there would be more bugs in general.")
    print ("That would not be good.")
    print ("================================================")
    time.sleep(7)
    print ("3) Frogs are awesome! How can anyone truly hate them?")
    time.sleep(2)
    print ("These are reasons to like frogs and protect them from")
    print ("extinction!!")
if a == '6':
    print ("     ")
    print ("Here is the link to our webpage!")
    print ("https://sites.google.com/site/frogwebsite/home")
if a == '7':
    print ("Type 1 for a rainbow hexagon-spiral!")
    print ("Type 2 for a 3D circular pattern!!")
    print ("Type 3 for a slow-forming star pattern!")
    print ("Type 4 for a fast forming star pattern!")
    x = input("Enter here: ")
    if x == '1':
        import turtle
        turtle.bgcolor("black")
        a = turtle.Turtle()
        a.speed(9999999999999999999999999)
        b = 0.5
        for i in range (10000):
            a.forward(b)
            a.color("purple")
            a.left(61)
            b = b+1
            a.forward(b)
            a.color("blue")
            a.left(61)
            b = b+1
            a.forward(b)
            a.color("cyan")
            a.left(61)
            b = b+1
            a.forward(b)
            a.color("green")
            a.left(61)
            b = b+1
            a.forward(b)
            a.color("yellow")
            a.left(61)
            b = b+1
            a.forward(b)
            a.color("red")
            a.left(61)
            b = b+1
    if x == '2':
        import turtle 

        a = turtle.Turtle()
        turtle.bgcolor("cyan")
        a.speed(100000000)

        for i in range(180):
            a.forward(80)
            a.right(40)
            a.forward(30)
            a.left(70)
            a.forward(70)
            a.right(30)
    
            a.penup()
            a.setposition(0, 0)
            a.pendown()
    
            a.right(2)
    
        turtle.done()
                   
    if x == '3':
        import turtle
        from turtle import *
        color('blue', 'green')
        begin_fill()
        while True:
            forward(200)
            left(155)
            if abs(pos()) < 1:
                break
        end_fill()
        done()
    if x == '4':
        import turtle
        from turtle import *
        color('green', 'cyan')
        begin_fill()
        speed(1000)
        bgcolor("yellow")
        while True:
            forward(230)
            left(185)
            if abs(pos()) < 1:
                break
        end_fill()
        done()


#NOTE: WE CREATED THE GOOGLE SITE AS WELL!
           
#https://www.massaudubon.org/learn/nature-wildlife/reptiles-amphibians/frogs/frog-species-in-massachusetts
#http://www.takepart.com/article/2015/06/04/how-stop-virus-killing-wild-frogs
#https://www.smithsonianmag.com/science-nature/14-fun-facts-about-frogs-180947089/
#http://www.ct.gov/deep/cwp/view.asp?a=2723&q=326002

#Created 5/19-5/20 @ MetroHacksIII Hackathon


        

Credits

Jeffrey Lam

Jeffrey Lam

1 project • 0 followers
TheRealJboy

TheRealJboy

1 project • 0 followers
James Hutchinson

James Hutchinson

1 project • 0 followers

Comments