Publicité

Give you two list, return True if they have common item, False if the.pdf

29 Mar 2023
 Give you two list, return True if they have common item, False if the.pdf
Prochain SlideShare
 Have you ever been to Hawaii I have not but the pictures are beautif.pdf Have you ever been to Hawaii I have not but the pictures are beautif.pdf
Chargement dans ... 3
1 sur 1
Publicité

Contenu connexe

Plus de alartindia14(20)

Publicité

Give you two list, return True if they have common item, False if the.pdf

  1. Give you two list, return True if they have common item, False if they don't The item in the list could be integer, boolean, float, string nput: [1,2,3] and [6,7,8] Output: False nput: [1,2,3] and [6,7,1] Output: True nput: [1,2,3] and [6,7,2] Output: True Language: Python 3 Q Autocomplete Ready begin{tabular}{l|l} 1 & > 10 & #!/bin/python3.. 11 & # 12 & # Complete the 'check_common_item' function below. 13 & # 14 & # The function is expected to return a BOOLEAN. 15 & # The function accepts following parameters: 16 & # 17 & 1. List list_a 18 & 2. List list_b 19 & 20 & def check_common_item(list_a, list_b): 21 & Write your code here end{tabular}
Publicité