Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: I don't understand the error
Post: I don't understand the error

I'm a Python 2 user and made a code to filter out the vowels in a phrase. This is the code:filtered_phrase=open("vowel_filter.txt", "w") filtered_phrase_2=open("vowel_filter.txt", "r") vowel_filter=ra...
MasterGame General Coding Help 1 2,566 Jul-18-2018, 07:32 PM
    Thread: Program regarding Password check need assistance
Post: RE: Program regarding Password check need assistan...

In this fragment, the value 8 isn't assigned to anything: if 8 <= len(p) < 24 : print(len(p),"Points Added - Length") points += (len(p)) Oops just ignore the message my fault :(
MasterGame General Coding Help 1 3,174 Jul-09-2018, 03:59 PM
    Thread: Making a Easy Password/code system
Post: RE: Making a Easy Password/code system

I think you might want to add a backslash (\) here as following: code = input("What\'s your passcode/word going to be?") The backslash won't be printed and it'll avoid the code from breaking. I also t...
MasterGame General Coding Help 4 3,877 Jul-08-2018, 09:42 PM
    Thread: [split] Password Generator
Post: RE: [split] Password Generator

I know how to do this is Python 2. I'm pretty much a beginner as well. I'd do it like this: password=raw_input("Enter the password: ") times_wrong=0 while times_wrong<3: if password=="fusion": ...
MasterGame General Coding Help 2 2,397 Jul-08-2018, 09:27 PM
    Thread: X value?
Post: X value?

I'm relatively new to Python 2 and can't figure out how to do an 'X' value (a number that could be anything). A few days ago I noticed 4 is 2 squared and 2+2. Then I wondered: is 4 the only number tha...
MasterGame General Coding Help 1 1,889 Jul-08-2018, 03:46 PM
    Thread: Can't figure out the syntax error, relatively simple code
Post: RE: Can't figure out the syntax error, relatively ...

You used this: print("Realf:'Shar, what ride you wanna go on after we eat?'" When it should be this: print("Realf:\'Shar, what ride you wanna go on after we eat?\'") There is a missing parentheses at ...
MasterGame General Coding Help 3 3,158 Jul-08-2018, 03:38 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020