Python Forum
hello, i was trying a testdome python test
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hello, i was trying a testdome python test
#4
the question is:
Implement the unique_names method. When passed two lists of names, it will return a list containing the names that appear in either or both lists. The returned list should have no duplicates.

for eg.,calling unique_names(['Ava','Emma','Olivia'],['Olivia','Sophia','Emma'] should return a list containing Ava, Emma, Olivia, and Sophia in any order.
Reply


Messages In This Thread
RE: hello, i was trying a testdome python test - by twinstars2020 - Aug-26-2020, 06:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to test the high-score in my Python-game Pluviometer 2 614 Oct-02-2023, 06:55 PM
Last Post: deanhystad
  How to test and import a model form computer to test accuracy using Sklearn library Anldra12 6 3,204 Jul-03-2021, 10:07 AM
Last Post: Anldra12
  cannot build python 3.8.2 (make test fails on test_imprtlib) borabora 1 2,777 May-08-2020, 09:10 PM
Last Post: Larz60+
  How to write test cases for a init function by Unit test in python? binhduonggttn 2 3,159 Feb-24-2020, 12:06 PM
Last Post: Larz60+
  How to write test cases by Unit test for database configuration file? binhduonggttn 0 2,589 Feb-18-2020, 08:03 AM
Last Post: binhduonggttn
  new python package test ramkrishna 0 1,883 Feb-25-2019, 12:18 PM
Last Post: ramkrishna
  Python test failed CodingMaster111 1 3,878 May-09-2018, 04:24 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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