Python Forum
a function to write or not
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a function to write or not
#1
in a container like a sequence or set, i want to replace every item that is also in another argument container with a given value, returning a like-the-first-type container.

like above for mutable sequences and sets, replace items in place.

n a container, i want to count every item that is in another argument (set, tuple, list, frozen set) returning just one total for all
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
Huh
Gribouillis likes this post
Reply
#3
should i write those or does Python already have a way to do those?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#4
To write or not to write but what is the question Think
Reply
#5
the question is: is there anything in Python that justifies not writing them?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Forum Jump:

User Panel Messages

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