Closed ericbn closed 11 months ago
join() receives an iterable and can receive a generator expression as parameter, and always returns a str.
join()
Also:
is not None
!= None
all()
join()
receives an iterable and can receive a generator expression as parameter, and always returns a str.Also:
is not None
instead of!= None
.all()
can be used to test all values of an iterable, instead of usingjoin()
to join all the values.