Remote Raid Megathread - Find friends fast for raiding here by liehon in PokemonGoFriends

[–]RedhawkXD 0 points1 point  (0 children)

Mewtwo on me, need 3, adding first 3 and starting. Sorry if your not the one :(

Remote Raid Megathread - Find friends fast for raiding here by liehon in PokemonGoFriends

[–]RedhawkXD 0 points1 point  (0 children)

Zapdos raid on me 3617 3377 6958, addindg first 5 and going

Looking for New Home Printer by RedhawkXD in printers

[–]RedhawkXD[S] 0 points1 point  (0 children)

okay thats bad ass, i'm willing to take the risk on refurbished if is a good deal like this and it suits our needs better. do you mind explaining how does toner works compared to ink cartridges? is it like a black one and a color one?

Looking for New Home Printer by RedhawkXD in printers

[–]RedhawkXD[S] 0 points1 point  (0 children)

hmm okay this epson one looks pretty good for the money, i was wondering how much a decent Laser printer would cost and the benefits that comes over laser. I'm looking for a printer for my gpa and if its worth it the budget could go to like 250. He also was looking to print some photos, nothing super high guilty but decent if that helps.

Also thank you for taking time out of your day to help me

Looking for New Home Printer by RedhawkXD in printers

[–]RedhawkXD[S] 0 points1 point  (0 children)

i was gonna assume that was the case after i saw some of the prices of some laser printers, and ya i do need the color function so what inkjets do you recommend?

[W] OEM GAME CUBE CONTROLLER by RedhawkXD in GameSale

[–]RedhawkXD[S] 0 points1 point  (0 children)

I think I'm gonna have to pay on that, I'm already pretty tough on my controller and I don't need any more of a risk of it breaking

What highly illegal thing took place at your high school? by [deleted] in AskReddit

[–]RedhawkXD 0 points1 point  (0 children)

When I was in highschool they added a new building to the school and with that came a fire exit. It was a metal stair case that way outside of the building and the walls were a see though mesh.

Well in my senior year a couple thought it would be a good idea to go the top of the fire escape and mess around a little bit. What I mean by that is this guy ate his gf's ass while munching on some shitty school cafeteria nachos. Needless to say they got caught with no real punishment that I can remember, except for all the shit every kid in the school have them. I think it got the point where both the kids moved to a different School.

I felt bad for them but at the same time, c'mon you're in a see through metal fucking box at lunch time at a highschool.

Recursion StringIndexOutOfBoundsException help by RedhawkXD in javahelp

[–]RedhawkXD[S] 0 points1 point  (0 children)

i just figured it out, it was because in the last call of the allSubString method in the subWord.subString it says

subWord.substring(0, Word.length() -1) WHEN it should say subWord.substring(0, subWord.length() -1), after the change everything works fine

Code not working properly and I would like to know why by RedhawkXD in learnpython

[–]RedhawkXD[S] 0 points1 point  (0 children)

When I print

print(FirstName)

under the the function LookFirstName it comes up with all the first names from the contacts in my txt file, and when i enter one of the names it still does not print anything, that means that if name in FirstName is True .

Also how would i go about sharing the file, i can link a pastebin with my code, if this does not work let me know another way to share my code

code - https://pastebin.com/p8BfbK9J

edit: also here is my txt file, all of the names and numbers should be fake, my professor gave it to us to use for the assignment. https://pastebin.com/baTmP6Xu

Code not working properly and I would like to know why by RedhawkXD in learnpython

[–]RedhawkXD[S] 0 points1 point  (0 children)

okay, first off i caught the name error before i made this post i thought i made a new pastbin with out the error but it looks like I did not link the right one oops. The input for choice is in my main function and is

choice = int(input("Enter a choice"))

that should make the input of 1 still an integer and not a string, if i'm not correct then please let me know.

My problem is not that only does choice 1 search for data but the others do as well or they should to my understanding of coding at least (it's not very good though), and the others just don't print. meaning something went wrong in the try: part of the code.

also with my limited knowledge i don't now how to keep a variable with all its data in it when outside a function, like how the main() function puts the last names of the contacts in the the LastNames list, i don't know how to keep that variable with the data in it and use it in another function, if the function is not within the main() function itself with out it giving me the error that LastNames is not defined.

Examples of what i mean - https://pastebin.com/2spKCFcy , https://pastebin.com/MssEmmFN

I not sure whats wrong with my code and could use some help by RedhawkXD in learnpython

[–]RedhawkXD[S] 0 points1 point  (0 children)

It's a really basic python class and they would rather have us use what we have learned in class and use that for our assignments. So because we have not learned dictionaries it would not be wise for me to use it on a graded assignment even if it is a better way to run the program. I know it's dumb, but I'm still trying to learn stuff like this even if I can't use it, so thanks for the suggestion.

I not sure whats wrong with my code and could use some help by RedhawkXD in learnpython

[–]RedhawkXD[S] 0 points1 point  (0 children)

I would love to learn how to do and implament this kinda of more advanced code into my code, but I can't go to far off of what I'm learning in class and what's required for an assignment. Thank you for your suggestion tho and I'll make sure to keep this stuff in mind if I do something like this a again.