Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to get first line of a tuple and the third item in its tuple. Need Help, Anybody?
Post: RE: How to get first line of a tuple and the third...

Error:Traceback (most recent call last): File "D:\Py\check cartesian.py", line 26, in <module> print a[0][2] TypeError: 'float' object has no attribute '__getitem__'
SukhmeetSingh General Coding Help 5 3,122 May-21-2019, 08:58 AM
    Thread: How to get first line of a tuple and the third item in its tuple. Need Help, Anybody?
Post: RE: How to get first line of a tuple and the third...

error: Traceback (most recent call last): File "D:\Py\check cartesian.py", line 26, in <module> print a[0][2] TypeError: 'float' object has no attribute '__getitem__'
SukhmeetSingh General Coding Help 5 3,122 May-21-2019, 06:36 AM
    Thread: How to get first line of a tuple and the third item in its tuple. Need Help, Anybody?
Post: How to get first line of a tuple and the third ite...

I have these values which I store in a: a = ((1.425, 4.82145395112958, 0.0656498375731458) (1.39716316090366, 7.2, 0.102480129941483) (7.425, 4.82145395112958, 0.0656498375731458) (7.39716...
SukhmeetSingh General Coding Help 5 3,122 May-20-2019, 09:25 PM
    Thread: Help me to using split function
Post: RE: Help me to using split function

Thanks, it works. But how to do it in one line?
SukhmeetSingh General Coding Help 4 2,874 May-19-2019, 09:40 PM
    Thread: Help me to using split function
Post: Help me to using split function

I want to split this line from = to second comma in one single line. pls help me anybody? #1 = HouseNumber((7.6,1.2,0.))
SukhmeetSingh General Coding Help 4 2,874 May-18-2019, 06:38 PM

User Panel Messages

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