Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Syntax error
Post: RE: Syntax error

Ok - thats pretty cool. I'll try with that. I think I may have located my error to a small comma problem, but then, after correcting it, new problems arose. I will go with your solution. Cheers /Mar...
Blaedel General Coding Help 3 2,009 Aug-03-2020, 01:18 PM
    Thread: Syntax error
Post: Syntax error

Hi guys, struggling to learn. Why is there a syntax error in the following: Quote:combinations_amounts = [] for amount_100 in range (0, 100+1, 100): [ind] for amount_50 in range (0, 100+1, 50): [in...
Blaedel General Coding Help 3 2,009 Aug-03-2020, 12:46 PM
    Thread: VS Code behaving strangely
Post: RE: VS Code behaving strangely

It might be just that. It seems I always fall into that trap.
Blaedel News and Discussions 7 3,208 Mar-06-2019, 09:07 PM
    Thread: VS Code behaving strangely
Post: RE: VS Code behaving strangely

I have ran it many times. Also I have changed the text in the print() -> saved -> run and still it is the same, not showing the changes just made. It is as if it freezes after the first run.
Blaedel News and Discussions 7 3,208 Mar-06-2019, 08:29 PM
    Thread: VS Code behaving strangely
Post: RE: VS Code behaving strangely

So something must be wrong with the VSCode... Strange.
Blaedel News and Discussions 7 3,208 Mar-06-2019, 08:06 PM
    Thread: VS Code behaving strangely
Post: VS Code behaving strangely

Dear brains, So, I know this is a python forum and not VS Code forum, but I know many of you use VS code and may be able to help anyways. when I open the following code (which is not finished - i kn...
Blaedel News and Discussions 7 3,208 Mar-06-2019, 04:54 PM
    Thread: What don't I understand about dict()
Post: RE: What don't I understand about dict()

THANKS... That's exactly the answer I was looking for. Cheers
Blaedel General Coding Help 2 2,003 Mar-01-2019, 07:56 PM
    Thread: What don't I understand about dict()
Post: What don't I understand about dict()

Dear friends, There's something in either the dict() or the random.choice() that I don't understand fully I suppose. Can you shed some light on that for me. import random capitals_dict = { 'Alabama...
Blaedel General Coding Help 2 2,003 Mar-01-2019, 07:50 PM
    Thread: Help with lists
Post: RE: Help with lists

Thanks all, I was actually suppose to find a solution using the while loop. I like the "set(), random.sample" solution a lot, so i'll stick to that. Thank you very much for your time
Blaedel Homework 5 2,652 Feb-26-2019, 05:46 PM
    Thread: Help with lists
Post: RE: Help with lists

Hi OK - yes,you're right. The thing is that I simply can't figure out how. Now, based on you're reply, I tried to put in the following, which seem more clear. Still doesn't work - or in fact I'm not...
Blaedel Homework 5 2,652 Feb-26-2019, 06:55 AM
    Thread: Help with lists
Post: Help with lists

Dear friends, I simply can't get my head around this little problem. I need to randomly choose three words out of a list of words. The chosen word cannot be a repetition and there has has to be exact...
Blaedel Homework 5 2,652 Feb-25-2019, 09:13 PM
    Thread: Problems with IDLE
Post: RE: Problems with IDLE

I'll start using VScode from now on. However, if anyone else runs into this error, there are a bunch of videoes out there that you can find if you google "python subprocess startup error" It took m...
Blaedel General Coding Help 5 5,977 Feb-12-2019, 07:19 PM
    Thread: Problems with IDLE
Post: RE: Problems with IDLE

Ok - thanks. However, as I am following a book closely this might not work for me just yet. When I get a bit more routine I can start deviate from it, but as of now I think that might not be a working...
Blaedel General Coding Help 5 5,977 Feb-11-2019, 05:11 PM
    Thread: Problems with IDLE
Post: Problems with IDLE

Dear all, I am trying to learn Python and thats going well. At least it did until my pc started giving me this error message (if the picture doesn't work it says "Subprocess Startup error", "IDLE...
Blaedel General Coding Help 5 5,977 Feb-10-2019, 01:30 PM
    Thread: This doesn't work like in book
Post: This doesn't work like in book

Does anyone understand why these phrases: >>>phrase = "the surprise is in here somewhere" >>> phrase.find("surprise")Doesn't return the number 4, when executed in the IDLE. I get he...
Blaedel General Coding Help 1 1,714 Jan-14-2019, 05:18 PM

User Panel Messages

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