How to modify my Python programming Programming by yahoovokoyo …], c=y, cmap=plt.cm.Paired) plt.xlabel('petal length') plt.ylabel('petal width') plt.xlim(xx.min(), xx.max()) plt.show… help with hangman program Programming Software Development by xfrostedkissx …;, "seven", "flower", "rose", "petal" I know my hangman program should start something like… Re: help with hangman program Programming Software Development by xfrostedkissx … lamp desk bottle highlighter cap medicine six seven flower rose petal Re: help with hangman program Programming Software Development by iamthwee …] [COLOR=green]flower[/COLOR] [COLOR=green]rose[/COLOR] [COLOR=green]petal[/COLOR] [/code] making multiple files Programming Software Development by xfrostedkissx …;, "seven", "flower", "rose", "petal" }; String wordInMemory = null; String hang[] = {"(","0… Another IE catastrophe.. Programming Web Development by tefflox …!—the future: a calendar full of morning glory pinpricks, of petal- mottled reds. The Bourne Ultimatum (dir. Paul Greengrass, 2007) Viewer… Hangman Java Console mode! Programming Software Development by Valkerion …;, "seven", "flower", "rose", "petal"… Re: Hangman Java Console mode! Programming Software Development by Valkerion …;, "seven", "flower", "rose", "petal" }}; if( intDifficulty > dictionaries.length ) { System.out.println( "… Re: How to get .jpg with python output Programming Software Development by sneekula … radius = 180 # size of circle --> length of petal extent = 70 # number of degrees in arc --> width… of petal angle = 0 # start out with a horizontal petal x1 = 0 # location in …) tu.right(extent/2) # fills half the flower petal tu.begin_fill() tu.circle(radius, extent) tu.end_fill() … Re: The Vending Machine Game Community Center Geeks' Lounge by mattyd You get a wet mess. I put in a rose-petal ice cream. Re: The Vending Machine Game Community Center Geeks' Lounge by ~s.o.s~ You get silky smooth skin. I put in a rose petal. Re: The Vending Machine Game Community Center Geeks' Lounge by mattyd You get delectable rose-petal ice cream :) I put in alo gobi. Re: Code tags whine-a-thon Community Center Meta DaniWeb by iamthwee …;, "seven", "flower", "rose", "petal" }; String wordInMemory = null; String hang[] = {"(", "0… Re: Thoughts Of The Day. Community Center Geeks' Lounge by grunji Love is like a flower; it springs from a small seed, develops roots that become embedded in our hearts and then sends forth blossoms, each containing a petal or more which makes this concept even more artistic. © Nickiesha Linton Re: Thoughts Of The Day. Community Center Geeks' Lounge by codeorder [B]Beauty of creating unknown creation isNot only for the passion of a petal, it is also for the strength of a thorn.[/B] [B]Anger of realization for ancient wisdom isNot a beauty that shall ever be forgotten, "capiche".[/B] Re: How to modify my Python programming Programming by Reverend Jim I'm far from a python pro but it seems to me that xx is local to plotSVC and goes out of scope once that function exits. I suggest you try to keep all module code contiguous. You have defned plotSVC in the middle of your mainline code. This is a very bad habit to get into. Keep all the mainline code as one contiguous block. Re: help with hangman program Programming Software Development by iamthwee Plan your code on paper first. 1. Read in a dictionary file and store the words in an arrayList. 2. Use the random function to pick a number from 0-Max_number_words, use this number as an index to pull out a word from the arrayList. 3. You'll need to keep tabs on the letters already guessed, and you need to figure out a way to chop a String into … Re: help with hangman program Programming Software Development by iamthwee OK, it looks like a good start. A few things. [code] [COLOR=green]while ( i < 200 )[/COLOR] [COLOR=green]{[/COLOR] [COLOR=green]dictionary[i++] = in.readLine();[/COLOR] [COLOR=green]}[/COLOR] [/code] That doesn't really make sense. It should be: [code] [COLOR=green]while ( i < 200 )[/COLOR] [COLOR=green]{[/COLOR] [COLOR=green] … Re: help with hangman program Programming Software Development by xfrostedkissx Thanks soooooo much for your help!!! i will try doing that and get back to you on how it goes!! But again THANK YOU!!!!!!!!!!!!!!!!!! :P Re: help with hangman program Programming Software Development by ~s.o.s~ [quote=iamthwee;407866] [B]Looping through each char in a string[/B] [code][COLOR=green] public class Test { public static void main ( String[] args ) { String crap = "Hello"; //loop through each char for ( int i = 0; i < crap.length(); i++ ) { System.out.println ( crap.substring ( i, i + 1 ) );… Re: making multiple files Programming Software Development by jwenting If you back up your work before experimenting you can always revert to a version that worked and start from there... At the very least get rid of that hardcoded dictionary in your main class, and separate the business logic from the user interface. Re: Another IE catastrophe.. Programming Web Development by Suomedia It doesn't look good in any browser. Fix your javascript errors first. Try searching Google for "browser simulator" Matti Ressler Suomedia Re: Hangman Java Console mode! Programming Software Development by stephen84s First one piece of advice : Use Consistent indentation, Some places you have indented your code, at other places you have just forgotten or put extra tabs for no reason. Following is the lin for Java SE 6 docs:- [url]http://java.sun.com/javase/6/docs/api/[/url] Make it a point to look there if first your need some functionality from some of Java… Re: Hangman Java Console mode! Programming Software Development by Valkerion Thanks a lot.I ll study it a bit and come back to you with more questions if any :) Re: Hangman Java Console mode! Programming Software Development by stephen84s Now that I actually saw your code, you have actually reduced Java to the level of a Structured Programming Language, So in order to really design your applications better I suggest you go through [URL="http://java.sun.com/docs/books/tutorial/java/concepts/"]this tutorial[/URL], for introducing you to the world of Object Oriented … Re: Hangman Java Console mode! Programming Software Development by Valkerion Oh come on. You were not born Programmer :) So me neither.Thanks anyway. I ve finished with it.Thank you a lot. Re: Hangman Java Console mode! Programming Software Development by ~s.o.s~ > Oh come on. > You were not born Programmer Sure he wasn't but I don't think this would have been his reply when pointed in the right direction. Of course it's a different thing if you were just trying to get over this assignment... Re: Hangman Java Console mode! Programming Software Development by Valkerion As you can read I didnt beg for code or something.And u didnt provide me with any anyway! And i want to learn.If its Hangman game the way i will learn so be it. Its not just an assignment.Its practice and experience Re: Hangman Java Console mode! Programming Software Development by Ezzaral If you really want to learn then don't be so hostile to suggestions that could help you improve. His point was that you shouldn't write all of your code in main(). Learn to use classes and methods properly, as that is the entire foundation of Java. Re: Hangman Java Console mode! Programming Software Development by Valkerion If he really wanted teach / advice / help he could do it in a not humiliating way (reduce java's level!) And i just waited to complete the whole thing and then break it to methods so my main would just call methods that do stuff. And ofc i read what Mr. stephen84s wrote and was very helpful.I thanked him bout that ! (')_(') (='.'=) (.)_(.)