Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

why that line is incorrect ? please write the PyCharn code for line 6, thanks In this task we give you some lists. You are

image text in transcribed

why that line is incorrect ? please write the PyCharn code for line 6, thanks

In this task we give you some lists. You are to write a function called someSame. def someSame (one, two): for a in one: This function will take two lists and return true if there is at least one identical element in each list and will return false otherwise. for b in two return True 9 10 # Define some lists of numbers someNumbers[1,2,3,4,5,6,7,8,9,0] some0therNumbers [11,22,33,44,55,66,77,88,99,100] 12 13 14 15 16 17 18 19 20 21 See if these two lists have one element the same print(someSame (someNumbers, some0therNumbers)) someMoreNumbers[111,222,333,444,555,6,777,888,999,1000] print(someSame (someNumbers, someMoreNumbers)) # Define another list # Check the new list and one of the others CheckIncorrect The file contains syntax errors Peek Solution

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Xxxviii Special Issue On Database And Expert Systems Applications Lncs 11250

Authors: Abdelkader Hameurlain ,Roland Wagner ,Sven Hartmann ,Hui Ma

1st Edition

3662583836, 978-3662583838

More Books

Students also viewed these Databases questions

Question

List the different categories of international employees. page 642

Answered: 1 week ago

Question

Explain the legal environments impact on labor relations. page 590

Answered: 1 week ago