Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: The difference between two functions
Post: The difference between two functions

I am a newbie to python and going through the NLTK book to learn a bit about using python for natural language processing. This post is not about NLTK, but about the difference in object classes that ...
Motley_Cow General Coding Help 2 2,868 Dec-03-2019, 12:11 AM
    Thread: Simple question about .format(* )
Post: Simple question about .format(* )

I am working with the following code and I am trying to understand what the purpose of the asterisk within the ".format(*formula)" operation on the last line of the script is. When I remove the asteri...
Motley_Cow General Coding Help 1 2,038 Oct-03-2019, 06:56 AM
    Thread: Beginner problem, replace function with for loop
Post: RE: Beginner problem, replace function with for lo...

Understood, thanks for the guidance and help with new notation.
Motley_Cow General Coding Help 9 4,632 Sep-13-2019, 06:24 AM
    Thread: Beginner problem, replace function with for loop
Post: RE: Beginner problem, replace function with for lo...

(Sep-12-2019, 06:48 AM)buran Wrote: introduce if/elif/else block in the loop bodyOk I've managed to create a for loop with an if/elif block nested within (below). However, the way that I've implemen...
Motley_Cow General Coding Help 9 4,632 Sep-13-2019, 04:16 AM
    Thread: Beginner problem, replace function with for loop
Post: RE: Beginner problem, replace function with for lo...

I'm self-study and not in a class. Thank you for the encouragement. Will do, I'll work on it.
Motley_Cow General Coding Help 9 4,632 Sep-12-2019, 07:06 AM
    Thread: Beginner problem, replace function with for loop
Post: RE: Beginner problem, replace function with for lo...

(Sep-11-2019, 01:38 PM)buran Wrote: then loop over it and use if-elif block to check what color is and how many points to addYou're right, I can tell I'm overthinking things. Can you give some examp...
Motley_Cow General Coding Help 9 4,632 Sep-12-2019, 02:14 AM
    Thread: Beginner problem, replace function with for loop
Post: Beginner problem, replace function with for loop

I am new to programming with python so be gentle **blush** I'm going through the Introduction to Python on If Statements and working on a general challenge: "Alien Points Make a list of ten alien...
Motley_Cow General Coding Help 9 4,632 Sep-11-2019, 01:29 PM

User Panel Messages

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