Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to check if my argument is a tuple with 3 tuples
Post: How to check if my argument is a tuple with 3 tupl...

So I have this function that will tell me if my argument is a tuple with 3 tuples in it, each of them with 3 digits. so I'm using a lot of ifs, isinstances and for to do it, something like this: def ...
zarox General Coding Help 1 1,824 Nov-15-2020, 06:13 PM
    Thread: How to use a tuple as an argument of a function
Post: RE: How to use a tuple as an argument of a functio...

(Nov-14-2020, 04:46 PM)buran Wrote: (Nov-14-2020, 04:42 PM)zarox Wrote: Yea I wanted to pass only one argument which was the tupleJust to make sure we are on the same page if you just want to pass...
zarox General Coding Help 5 3,586 Nov-14-2020, 07:46 PM
    Thread: How to use a tuple as an argument of a function
Post: RE: How to use a tuple as an argument of a functio...

That's exactly what I was looking for! Yea I wanted to pass only one argument which was the tuple **biggrin** . Thank you so much!!
zarox General Coding Help 5 3,586 Nov-14-2020, 04:42 PM
    Thread: How to use a tuple as an argument of a function
Post: How to use a tuple as an argument of a function

I'm new to python and programming in general. I want to know how to use a tuple as the argument of a function I've been using def function(a, b ,c): tup = (a, b, c)but this limits the tuple ele...
zarox General Coding Help 5 3,586 Nov-14-2020, 04:21 PM

User Panel Messages

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