Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Using function *args to multiply multiple arguments
Post: RE: Using function *args to multiply multiple argu...

(Nov-19-2019, 09:29 PM)buran Wrote: sorry, I overlooked your initial post and especially the last asterisk here.You're fine. I appreciate your contribution.
allusernametaken General Coding Help 8 6,067 Nov-20-2019, 12:01 AM
    Thread: Using function *args to multiply multiple arguments
Post: RE: Using function *args to multiply multiple argu...

(Nov-19-2019, 08:12 PM)ThomasL Wrote: This is a shorter form of z = z * num.Oh okay, a shorter arithmetic formula. that's it. Thank you. (Nov-19-2019, 08:40 PM)buran Wrote: Their initial understa...
allusernametaken General Coding Help 8 6,067 Nov-19-2019, 09:05 PM
    Thread: Using function *args to multiply multiple arguments
Post: RE: Using function *args to multiply multiple argu...

(Nov-19-2019, 04:16 PM)stullis Wrote: Once it reaches the end last index of the tuple created by *args, it terminates without running the loop body. In effect, the for loop would perform 2 * 5 * 6.W...
allusernametaken General Coding Help 8 6,067 Nov-19-2019, 07:42 PM
    Thread: Using function *args to multiply multiple arguments
Post: Using function *args to multiply multiple argument...

I'm a beginner in Python and have a question. I now understand the basics of a function and what an asterisk does when it's used in a parameter. However the code, from https://www.digitalocean.com/co...
allusernametaken General Coding Help 8 6,067 Nov-19-2019, 04:10 PM
    Thread: Is 2 a prime number? for loop & range fuction in python docs says yes, mine says no.
Post: RE: Is 2 a prime number? for loop & range fuction ...

(Nov-17-2019, 12:11 AM)bajacri Wrote: So, range(2,2) should have gone forward from 2 to 1 in steps of one. This is a singular case/corner case that returns an empty value. It won't compute. Nice, ve...
allusernametaken General Coding Help 4 2,894 Nov-17-2019, 02:56 AM
    Thread: Is 2 a prime number? for loop & range fuction in python docs says yes, mine says no.
Post: RE: Is 2 a prime number? for loop & range fuction ...

(Nov-16-2019, 08:39 PM)ibreeden Wrote: But why do you think range(2, 2) means: 2 through 2? Of course it must mean 2 through 1. It will yield nothing unless a negative step is given. I thought range...
allusernametaken General Coding Help 4 2,894 Nov-16-2019, 11:33 PM
    Thread: Is 2 a prime number? for loop & range fuction in python docs says yes, mine says no.
Post: Is 2 a prime number? for loop & range fuction in p...

I'm a beginner in computer science field, and Python is my first programming language I'm studying. I started reading Python documentation and would like to clarify my understanding of range function ...
allusernametaken General Coding Help 4 2,894 Nov-16-2019, 06:59 PM
    Thread: removing items from a list or group within a for loop.
Post: RE: removing items from a list or group within a f...

I have read all the replies multiples times since yesterday, although I still understand only 50%. It's very cool to see the different approaches depends on different understanding. Most important les...
allusernametaken General Coding Help 9 4,583 Nov-13-2019, 01:58 AM
    Thread: removing items from a list or group within a for loop.
Post: RE: removing items from a list or group within a f...

(Nov-10-2019, 09:09 PM)ichabod801 Wrote: 1: If you find this confusing, so does Python. 3. It loops over the copy of the list, but then when it does the removal, it does that to the original list. ...
allusernametaken General Coding Help 9 4,583 Nov-11-2019, 12:37 AM
    Thread: removing items from a list or group within a for loop.
Post: removing items from a list or group within a for l...

Hello, hello. I'm learning Python with a book(Python Crash Course), and at the part to code a game called 'Alien invasion'. To be more specific, currently I'm following to code bullets to be fired fro...
allusernametaken General Coding Help 9 4,583 Nov-10-2019, 08:07 PM
    Thread: moving bullets up the screen using y-coordinate
Post: RE: moving bullets up the screen using y-coordinat...

(Nov-09-2019, 09:34 AM)ThomasL Wrote: You find interesting history facts about this here. This is cool. It makes me want to learn about the hardware side of computer science field.
allusernametaken Game Development 4 2,585 Nov-10-2019, 02:34 AM
    Thread: moving bullets up the screen using y-coordinate
Post: RE: moving bullets up the screen using y-coordinat...

(Nov-09-2019, 02:08 AM)ehmatthes Wrote: In Pygame, and in many graphical frameworks, the origin is at the top left corner. I re-read the book and the same explanation is here. I can't believe I miss...
allusernametaken Game Development 4 2,585 Nov-09-2019, 05:50 AM
    Thread: Progress
Post: RE: Progress

(Nov-05-2019, 05:53 AM)szbeco Wrote: Stuff like these remind me that programming has potential both in a serious, career way and a fun, you-can-do-anything-silly-you-want way. **smile** Thank you fo...
allusernametaken Bar 2 2,337 Nov-09-2019, 01:39 AM
    Thread: moving bullets up the screen using y-coordinate
Post: moving bullets up the screen using y-coordinate

Hello, python world. I'm studying python using the book called 'Python Crash Course'. There's a portion of the book making a game using Pygame and I'm at the part to code bullet module for a ship to f...
allusernametaken Game Development 4 2,585 Nov-09-2019, 01:33 AM
    Thread: Progress
Post: Progress

I have been making a good progress on learning Python. It has been about two weeks since I started and almost everyday I learned a bit of Python basics. There's still some portion of the book I have ...
allusernametaken Bar 2 2,337 Oct-08-2019, 03:36 AM
    Thread: Programmer named Tim...
Post: RE: Programmer named Tim...

i was curious about this too. Now I know.
allusernametaken Board 11 9,849 Oct-07-2019, 11:52 PM
    Thread: New Users Introduce Yourself
Post: RE: New Users Introduce Yourself

Hello. I'm here to introduce myself to all of you. I began learning Python about 10 days ago. I'm currently a full-time employee at a medium-size company, that's not related to tech at all. My goal i...
allusernametaken Bar 431 228,937 Oct-07-2019, 01:14 AM
    Thread: Too Stupid to Code
Post: RE: Too Stupid to Code

SET YOUR MIND-SET RIGHT!!!!!!!!!! although I feel your fear/worry/whatever we call, we can do this!!!!!!!!!!!!!!!!!!
allusernametaken Bar 14 7,256 Oct-04-2019, 02:41 AM
    Thread: Where to look to find the most recent Python grammar
Post: RE: Where to look to find the most recent Python g...

newbieaussie, that's awesome. so i came back and did reputation for you haha ehmatthes, wtf? it's nice to meet you. Thank you for your book and resource.
allusernametaken General Coding Help 9 3,576 Oct-04-2019, 02:36 AM
    Thread: Where to look to find the most recent Python grammar
Post: RE: Where to look to find the most recent Python g...

Thank you all! I wanted to give everyone reputation but I didn't know my account's allowed for giving only 2 a day. Damn. Sorry newbieAuggie2019 :(
allusernametaken General Coding Help 9 3,576 Oct-02-2019, 11:37 PM

User Panel Messages

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