Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Two Questions, *args and //=
Post: RE: Two Questions, *args and //=

(Jan-31-2021, 09:16 PM)buran Wrote: Assuming you are not allowed to use sum(), you can iterate over args and calculate the result adding one number at a time. Thanks, can you give me a little exampl...
beginner721 General Coding Help 8 3,521 Jan-31-2021, 11:19 PM
    Thread: Two Questions, *args and //=
Post: RE: Two Questions, *args and //=

Thanks everyone... (Jan-31-2021, 09:31 PM)deanhystad Wrote: def func(*args): print(args) func('Hello') func('a', 1, 3.14) def func2(a, b, *args): print(args) func2('a', 1, 3.14)Output:('...
beginner721 General Coding Help 8 3,521 Jan-31-2021, 11:08 PM
    Thread: Two Questions, *args and //=
Post: Two Questions, *args and //=

Hello, Question one: I want to use *args function, for multiple argument in math operation. For example: def plus(a,b): return a+b #lets try a=int(input("A: ")) b=int(input("B: ")) plus(a,b)It...
beginner721 General Coding Help 8 3,521 Jan-31-2021, 08:54 PM
    Thread: I cant send P.M.
Post: RE: I cant send P.M.

Thank you **heart**
beginner721 Board 2 2,287 Jan-31-2021, 12:55 AM
    Thread: I cant send P.M.
Post: I cant send P.M.

Hello, I cant send private message, why? Thanks.
beginner721 Board 2 2,287 Jan-30-2021, 02:53 PM
    Thread: I have two Same Code but One of them Doesnt Work
Post: RE: I have two Same Code but One of them Doesnt Wo...

(Jan-22-2021, 10:02 PM)deanhystad Wrote: Python does a pretty good job pointing out errors. The one place it doesn't do so well is syntax errors, sometimes just saying there is a syntax error on li...
beginner721 General Coding Help 6 3,096 Jan-22-2021, 10:56 PM
    Thread: I have two Same Code but One of them Doesnt Work
Post: RE: I have two Same Code but One of them Doesnt Wo...

Thanks all of you. I tried to fix maybe 2 hours but I cant fix. Maybe I need to rest :) Thx again.
beginner721 General Coding Help 6 3,096 Jan-22-2021, 06:47 PM
    Thread: I have two Same Code but One of them Doesnt Work
Post: I have two Same Code but One of them Doesnt Work

Hello everyone.. I have a problem I have two Same Code but One of them Doesnt Work This is the one that doesnt work balance=1000 ## 1= BALANCE CHECK ## 2= deposit money ## 3= withdraw money ## q= exi...
beginner721 General Coding Help 6 3,096 Jan-22-2021, 04:32 PM

User Panel Messages

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