# Llama party platform program # Created on 9/5/16 # Copyright 2016 Hyun Myung 'Joseph' Ha and Liberum Llama import time # START OF DEFINITIONS def ShowIssues(): # Prints out list of issues print "\n[1] Gun control" print "[2] Poverty" print "[3] Euthanasia" print "[4] Education" print "[5] Gay Marriage" print "[6] Marijuana" print "[7] Healthcare" print "[8] Global Warming" print "[9] Death Penalty" print "[10] Abortion" print "[11] North Korea" print "[12] Immigration" print "[13] Freedom of Speech" print "[14] Me?" def Gun_Control(): print "\n\tLiberum Llama's stand on gun control is pro-gun control.\n" time.sleep(2) print "\tSince many households and civilians already own firearms, it is an unrealistic and inefficient to place a ban on rifles.\n" time.sleep(2) print "\tHowever, gun violence cause more than 10,000 deaths in the United States per year (Source: IANSA) and there must be action.\n" time.sleep(2) print "\tWe will implement gun control laws so that it will further prevent criminals from obtaining guns easily." time.sleep(2) print "\tOur party suggests stricter gun licensing through testing and ranking in licenses." time.sleep(2) print "\tIn addition to previous gun testing laws and background checks, prospective owners will be tested on reaction speed, gun assembly knowledge, gun usage knowledge, information on different types of calibre in bullets. From the test and checks, gun owners will be given a license similar to a Driver's License." time.sleep(3) print "\tAdditionally, we will impose high taxes (> 40%, greater than income tax) on firearms and bullets. Therefore, if anyone wants to buy weapons it would still fund federal programs." def Poverty(): print "\n\tLiberum Llama wants to eliminate poverty on American soil as soon as possible, as America is the land of opportunity.\n" time.sleep(2) print "\tSome people blame that it is the poor's fault for being poor. Many assume that these unfortunate Americans are in their states because of laziness.\n" time.sleep(2) print "\tHowever, we know that many Americans are hard working. They just can't get out of the cycle of poverty.\n" time.sleep(2) print "\tEven on a swing, you need a push to start swinging. Hence, Liberum Llama wishes to 'push' these victims to start 'swinging' by providing financial aid packages.\n" time.sleep(2) print "\tOur party designed a loan system which we loan money or assets to the poor, and help them manage the assets to pay us back. Money attracts money, so we will provide money to the poor and they will pay us back." time.sleep(2) print "\tWe will fund this program through cutting the superfluous military budget, adding different types of taxes (will be mentioned in other sections), and overall cutting useless programs such as shady Iraq aid programs ($13 billion were either wasted or stolen, Source: Washington Post) " def Euthanasia(): print "\n\tDeath is a hard topic to deal with, and it is especially worse when one is diagnosed with a terminal illness- slowly carving his or her life away.\n" time.sleep(2) print "\tThe power science and medication is currently limited. Though we may be able to discover a cure for everything in the future, some will not have that luxury.\n" time.sleep(2) print "\tWhile some may prefer to spend their time with their families before their death, some do not wish to suffer further and wish to end it. Chronic pain is worse than death.\n" time.sleep(2) print "\tWhich is why Liberum Llama wishes to leave the patient's destiny to the patient. If the patient wishes to give up, it is time to give up. If the patient still wishes to fight, then give the patient a chance to fight. Euthanasia is only legal through the patient's choice, and/or the patient's guardian.\n" time.sleep(3) print "\tDeath should not be a full of pain and suffering; it is the final moment of one's life and should end spectacularly, with joy and without regrets." def Education(): print "\n\tIn higher education, private colleges are the most preferred. However, these private institutions require great amount of money for tuition, housing, school resources, and other additional fees. Therefore, we would like to increase in government-sponsored scholarships significantly.\n" time.sleep(2) print "\tWe also wish to renew college and university programs to a more practical aspect. Major programs will be designed though real-life application of the subject, hence many college students struggle to prepare for employment.\n" time.sleep(2) print "\tMajority of these changes will be applied to heavy STEM(Science, Technology, Engineering, Mathematics), and Business majors to boost America's economy and industrial development." def Gay_Marriage(): print "\n\tLiberum Llama fully, without opposition, support same-sex marriage. Love is an emotion that cannot be artificially controlled through laws and and tyrannical control.\n" time.sleep(2) print "\tThousands of people part of the LGBT community is being discriminated against, regardless of their position, talent, contribution, and prestige. Should we reject a person- even if they have done nothing wrong, could contribute to society, and are capable of living a normal life- just because of their sexual preference?\n" time.sleep(3) print "\tWe wish to restore the basic human rights to the American LGBT community. We wish to maintain the legalization of gay marriage in the United States. \n" time.sleep(2) print "\tAdditionally, we would like to remind the LGBT community that Liberum Llama does not tolerate discrimination against traditional marriage and additional requests for social benefits based on sexuality." time.sleep(2) def Marijuana(): print "\n\tWe were taught in schools that drugs have harmful effect on our bodies. But in reality, not all drugs have detrimental characteristics, such as addiction.\n" time.sleep(2) print "\tMarijuana is one of the primary examples of drugs which have little to almost no addiction and detrimental effects on the human body. The effect of tetrahydrocannabinol,THC, the substance which causes the pleasure 'high' in marijuana, include polyphagia, which is an increase in appetite, and sense depressant. These properties help individuals suffering anorexia, nausea, and vomiting, especially those who are partaking chemotherapy.\n" time.sleep(3) print "\tThe impacts of other cannabinoids to the human body include: trouble thinking and remembering, bloodshot eyes, dry 'cotton' mouth, slowed coordination, and fast heart rate. All of these effects are relatively harmless to the human body without any medical condition(s).\n" time.sleep(3) print """\tOnly few studies show cannabis is addictive, and many other users do not fit under 'Substance Dependence' in the Diagnostic and Statistical Manual of Mental Disorders 4th Edition (DSM-IV, basically the 'dictionary of mental disorders').\n """ time.sleep(2) print """\tThe 'gateway drug theory' argument is invalid, as the Institute of Medicine of the National Academy of Sciences states, "Patterns in progression of drug use from adolescence to adulthood are strikingly regular. Because it is the most widely used illicit drug, marijuana is predictably the first illicit drug most people encounter. Not surprisingly, most users of other illicit drugs have used marijuana first. In fact, most drug users begin with alcohol and nicotine before marijuana - usually before they are of legal age". Therefore, the real 'gateway' drugs are tobacco and alcohol in an underage citizen's hand. Remember, correlation does not equal to causation!\n""" time.sleep(3) print "\tTherefore, we conclude marijuana is harmful to neither the human body nor general society. We promote the not only medical marijuana, but also recreational marijuana." time.sleep(2) print "\tOn our policy of legalization of cannabis, we plan to make the drug legal for medical and recreational usage. However, for recreational usage, we shall impose a high tax and government-regulated price floor on the market to prevent over-consumerism.\n" time.sleep(2) print "\tThe Drug Enforcement Administration will still be in charge of regulating other illicit drugs, but will also be in charge of consulting and investigating cannabis users to prevent cases of overdoses, drug abuses, and illegal produce.\n" def Healthcare(): print "\n\tAs of today, the United States is the only major country in the world without universal healthcare. Schools sometimes lack nurses or emergency services to treat minor wounds which could expand to more deeper problems.\n" time.sleep(2) print "\tWe pay our high taxes for this country, yet even our children cannot receive full benefits? Nurses being replaced with first aid kits with vague or complex instructions? This is just absurd.\n" time.sleep(2) print "\t We wish to increase in healthcare for our children, our future, for the future of our nation and the world. Hence we shall open up more jobs in healthcare around schools and in school.\n" time.sleep(2) print "\tTherefore, our party seeks nationwide healthcare. Anybody who pays taxes consistently to the federal government should be able to receive federal healthcare, or Medicare." def Global_Warming(): print "\n\tThe United States is a major contributor to Global Warming. Yes, Global Warming is a real thing. This is not 'science trying to reduce production'. Therefore, Liberum Llama aims to reduce the amount of greenhouse gas produced in America.\n" time.sleep(2) print "\tWe will first cut down our usage in power plants which consume fossil-fuels, through heavy taxation and reduce federal funding.\n" time.sleep(2) print "\tOur party also seeks to adapt a system which cars with a certain registration number at a certain digit place cannot drive once a week. Though this system may look minor, there are more than 250 million cars in the United States, and taking a fraction of this number is enough to reduce a significant amount of greenhouse gases." time.sleep(3) print "\t26 U.S. Code Chapter 38 will be another key to our green success. We would like to increase petroleum tax, carbon tax, plastic bag tax, airline tax, and industry- mainly when the output is ozone-depleting, environmentally harmful, or biologically hazardous chemicals- tax. Since almost everyone in the world hate taxes, this will reduce the amount of environmental pollution significantly both from industries and individuals.\n" time.sleep(3) print "\tWe also plan on reducing the price, and increasing the quality of service of public transport to lower the amount of cars in streets. The fewer cars, fewer greenhouse gases produced!\n" time.sleep(2) print "\tFinally, we introduce a mileage system based on amount of 'green' things you have done. For example, taking public transport, reducing the number of waste produced from your house, or buying government-approved 'green' products. These mileage points can be used for various things, such as tax returns or government benefits. This way, everybody benefits from staying green!\n" def Death_Penalty(): print "\n\tWe cannot confirm whether a man is truly guilty or innocent based off speculations and vague evidence on court, hence we cannot give anyone a heavy punishment such as death.\n" time.sleep(2) print "\tWe hope to stop executions from happening in this country. As a civilized, first world country, we should use prison systems to not only punish criminals, but to rehabilitate them, so that they could be members of society again.\n" time.sleep(2) print "\tBy murdering a man who murdered someone, the number of murderers do not change. It is hypocritical that prisons, both private and public, are able to kill legally. The harshest punishment we can give is lifetime solitary confinement, banishment from society and the world.\n" time.sleep(2) print "\tEven people of the lowest kinds- murderers, rapists, pedophiles, thieves (or worse, a combination of all of these)- have their uses for our society. We could use them as manual labour; Brazil, for instance, require inmates to produce electricity by cycling. This could help in producing electricity.\n" def Abortion(): print "\n\tOur party believes that women should have the right to do whatever to their bodies, and so should have the choice of her fetus. To deny this right is no different than limiting a women's status in society.\n" time.sleep(2) print "\tThis is important in cases especially like rape, which the victim had no control over. We shouldn't further harass these victims to take responsibility on something they had no control over and do not wish.\n" time.sleep(2) print "\tBut what about accidents caused by unsafe sex? Our decision remains the same, with addition of support in Planned Parenthood and Sex Education in schools. These two programs will drastically decrease in these number of accidents and inform the American public more about parenting.\n" time.sleep(2) print "\tTo clarify, we only support safe abortion. We do not support the abortion pills sold online, known to be dangerous, and do not support 'cloth hanging abortions'. We support the safe environment which parenthood is well planned, safe sex is administered, and abortions are made with little to no risk.\n" def NorthKorea(): print "\n\tDemocratic People's Republic of Korea, better known as North Korea, is known to be one of the world's most dangerous countries in the world. Surrounding countries such as the Republic of Korea, better known as South Korea, Japan, and even China, receive threats of nuclear bombings or military action. However, these threats may seem somewhat justified.\n" time.sleep(2) print "\tFirst off, Westernization. North Korea is currently afraid that Westernization will ruin the country, much like how it ruined the ancient Qing Dynasty with the spread of opium. North Korea values its conservative principles, and do not wish to change\n" time.sleep(2) print "\tSecond of all, North Korea wishes to be truly free from the world's oppression, or so they claim. They do not want to be limited from trading or expanding by other countries. This policy is the 'mind your own business' approach. However, this history of distrust dates back to when North Korea was first established. The UN attempted to supervise elections in the entire country, but Kim Il-Sung's and the Soviet's forces in the North viewed it as a one-sided, rigged, election, as the US-occupied South had greater population than the USSR-occupied North. This distrust 'snowballed' during the Cold War, Korean War, and the early 21st century, and thus resulted North Korean ideology today.\n" time.sleep(3) print "\tLastly, on the justification, North Korea is surrounded by many pro-capitalist countries, such as South Korea, Japan, Russia, and (somewhat) China. North Korea currently feels alone without an ally and, again, distrusts modern society. Therefore, it is our responsibility to introduce freedom and democracy to this country.\n" time.sleep(2) print "\tLiberum Llama's policy on North Korea is a more slower, but predicted more effective, approach to open the country up. First, we need their trust back, so we shall lower the limit on sanctions on commercial goods. We could establish trade this way, and slowly earn trust through trade and commerce, while increasing the value of North Korean currency.\n" time.sleep(2) print "\tSecondly, we could start negotiations regarding nuclear proliferation. Obviously we want to reduce the number of nuclear warheads on Earth, since they currently provide no benefits. Furthermore, we could start negotiating in demilitarizing the borders, and replace them with more 'normal' borders, like between Germany and France. \n" time.sleep(2) print "\tLastly, if we promote consumerism and competition in North Korea, we may see another global competitor. This could promote a more open market in the communist country, and could potentially make it so that capitalism is no longer a flawed ideal from the enemy, but viewed as a viable option for economic and industrial growth, much like China. If South Korea could produce advanced electronics from ship-building industries, what could North Korea make, given more natural resources in their own country?\n" time.sleep(2) print "\tInstead of pointless fighting, we wish to promote liberty and progress in the world. To do so we will have to cease aggressions, and reduce the amount of threats in this world. Our first step is North Korea. \n" def Immigration(): print "\n\tWhile, obviously, we do not support illegal immigration, Liberum Llama fully supports legal immigration. However, we will change criteria for immigration, to increase national security and decrease xenophobia in the United States.\n" time.sleep(2) print "\tOur policy on immigration may look harsh, but is somewhat justified. To live in the country one wishes to immigrate to, one must speak, or at least agree to learn the language, agree to be productive, agree to pay taxes, and is loyal to the United States government, citizens, and laws (both State and National).\n" time.sleep(2) print "\tFirst, migrants are required to communicate in our national language, English. This does not mean to abandon the migrant's culture or understanding of his or her native language. This simply helps in finding jobs, preventing disputes and communication issues, reducing xenophobia, and learning culture. It should be obvious- how can one survive in a foreign land without knowing the method of communication?\n" time.sleep(2) print "\tSecondly, we should only allow immigrants who are capable, and are willing to support the United States. This means the migrants must find jobs to support themselves and their families. Migrants who are jobless, unable to support themselves and their families, and who are unproductive are detrimental to our society, as they could damage our social security system and welfare system.\n" time.sleep(2) print "\tThirdly, migrants must pay taxes. Generation 1 migrants must pay an additional 'first generation migrant' taxes. This is to prevent from migrants flooding in the country. Taxation is a form of payment which citizens pay for public, government-sponsored programs and services. Not paying taxes essentially means refusing national service and showing infidelity to our proud country.\n" time.sleep(2) print "\tFinally, migrants must go through thorough background checks. Our background checks will now include social media and communications. This is to make sure our country stays safe from terrorists from entering and causing trouble. An oath of loyalty won't do much, so social workers will be assigned to a migrant family to make sure the family doesn't do anything suspicious or in conflict with our national interest (i.e. espionage).\n" def Freedom_of_Speech(): print "\n\tFreedom of speech is one of the many features that Americans enjoy. However, freedom of speech still needs control to some extent- for instance, we shouldn't be allowed to say 'fire' in a movie theatre when there is none, as it could cause mass hysteria.\n" time.sleep(2) print "\tSo what are we allowed to say in the 21st Century United States? Well, pretty much anything, as long as it is supported by factual evidence " def AboutBot(): print "\n\tI am Lem and I am the 'digital mascot' of this party! You see that llama on our party logo? That's me!\n" time.sleep(2) print "\tI was made by the best programming in Mr. Hubbs' class, Joseph! (though he's only the best because he's the only guy who codes)\n" time.sleep(2) print "\tMy task is to display our party platform digitally on screen.\n" time.sleep(2) print "\tYou can take a look at my source code! Just ask Joseph or Mr. Hubbs for permission!\n" def RunCode(): while True: for i in range(20): print "\n" print "Hello, I am Lem the Digital Llama! I am a digital assistance for this party!" print "I am programmed to help people regarding our stances on different issues." ShowIssues() while True: # Asks for input / issue command = raw_input("\nWhich issue would you like to know about?\n Type 'help' if you are lost!\n>_ ") # Converts 'command' to a string command = str(command) # Converts the string in 'command' into upper case command = command.upper() # No-Ga-Da 'if' statements if command == "1": Gun_Control() elif command == "2": Poverty() elif command == "3": Euthanasia() elif command == "4": Education() elif command == "5": Gay_Marriage() elif command == "6": Marijuana() elif command == "7": Healthcare() elif command == "8": Global_Warming() elif command == "9": Death_Penalty() elif command == "10": Abortion() elif command == "11": NorthKorea() elif command == "12": Immigration() elif command == "13": Freedom_of_Speech() elif command == "14": AboutBot() elif command == "HELP": ShowIssues() # When someone types something not on the list else: print "I do not understand what you mean. Please type 'help' for the available commands." # END OF DEFINITIONS RunCode()
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question