Message362056
read the advice...
Yes this does work:
("Hello", 1, None) + (23, 19.5, "Goodbye")
('Hello', 1, None, 23, 19.5, 'Goodbye')
because you are not creating a 3rd string!
but try this, and it will NOT work:
FatThing= [(5, 4, "First Place"),
(6, 6, "Fifer Place"),
(2, 2, "Slowr Place")]
print(FatThing) #this works
FFThing = FatThing + ('22', '32', '55') #this causes an error!
however if you change all the members to strings, it will work!!! |
|
Date |
User |
Action |
Args |
2020-02-16 08:45:26 | bruceblosser | set | recipients:
+ bruceblosser, steven.daprano, ammar2 |
2020-02-16 08:45:26 | bruceblosser | set | messageid: <1581842726.29.0.751162646788.issue39641@roundup.psfhosted.org> |
2020-02-16 08:45:26 | bruceblosser | link | issue39641 messages |
2020-02-16 08:45:26 | bruceblosser | create | |
|