## About bills / legislature

Random things go here

### About bills / legislature

Decided to express my view through Python as I was bored
Code: Select all
`import random import timelegltn = ['A','B','C','D','E','F','G','H','I','J','K','L','M',          'N','O','P','Q','R','S','T','U','V','W','X','Y','Z']one = 'Act'another = 'The'def yawn():    zzzz = random.randint(0,25)    zzz = random.randint(0,25)    zz = random.randint(0,25)    z = random.randint(0,25)        return another+' '+legltn[zzzz]+legltn[zzz]+legltn[zz]+legltn[z]+' '+onemoney = 1while money:     print yawn()    time.sleep(1) # or 6048001`

wan26
Experienced User

Posts: 91
Joined: Sun Jan 22, 2012 6:46 pm
Blog: View Blog (0)

### Re: About bills / legislature

Decided to express my view through Java as I was bored and don't have Python
Code: Select all
`public class Gov {      private final static char [] legltn = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'};      private final static String another = "The";   private final static String one = "Act";            public static void main(String [] args) {            int tMoney = 1;            while(tMoney > 0) {                  System.out.println(yawn());                  try {                        Thread.sleep(1000);                     } catch (InterruptedException e) {                        e.printStackTrace();                     }               }         }            public static String yawn() {            int zzzz = (int)(Math.random() * 26);      int zzz = (int)(Math.random() * 26);      int zz = (int)(Math.random() * 26);      int z = (int)(Math.random() * 26);            return another + ' ' + legltn[zzzz] + legltn[zzz] + legltn[zz] + legltn[z] + ' ' + one;         }         }`

Contributor

Posts: 686
Joined: Tue Mar 06, 2012 9:37 pm
Blog: View Blog (0)

### Re: About bills / legislature

Neat, I like it, I was waiting for a certain abbreviation to come up in mine, but I knew it would be a waste of time and gave up. Although I might add it as an if, so it stops 'ROFL'.

edit- Also that reminds me I should really try out Java some more.

wan26
Experienced User

Posts: 91
Joined: Sun Jan 22, 2012 6:46 pm
Blog: View Blog (0)

### Re: About bills / legislature

We should start a political campaign with this program as our banner. We shall be known as the "Truthful-Bureaucrats Against Governments Gradually Elevating Restrictions" party or the "T-BAGGER" party.

We shall forge an empire. Together.

UNITED WE STAND, DIVIDED WE FALL!

THIS...

IS...

THE INTERNET!!!!!!!!!!!!!!!!!!

-edit

Why would you want to stop your program at 'The Ridiculously Overpriced Flounder Limitations Act' ? That's a terrible choice. Everyone knows that the ROFL act will kill the already dying fish industry!!!

Contributor

Posts: 686
Joined: Tue Mar 06, 2012 9:37 pm
Blog: View Blog (0)

### Re: About bills / legislature

I can imagine it now, this simple programs execution being projected onto an abandoned building. And passers by wondering what it is...

Also it is true that it should never stop and continue on for eternity! As for the fish industry, it would be funny if they tried to create similar Acts in terms of power and scope...

This is why I like off-topic now, I can say this stuff ha

wan26
Experienced User

Posts: 91
Joined: Sun Jan 22, 2012 6:46 pm
Blog: View Blog (0)

### Re: About bills / legislature

wan26 wrote:This is why I like off-topic now, I can say this stuff ha

Yeah, that's why us devilish mods try to tell people to post in the correct forums. It keeps shit more organized and easier to find. Hell, some brand new members find the correct sub forums to post in compared to some of the ones that's been around here for a while. Anyways, glad to see you enjoy it. Keep the posts a rolling in.

LoGiCaL__