Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please write down the PyCharm code for the placeholders # Replace the placeholders and complete the Python program. In this task we give you some

image text in transcribed

please write down the PyCharm code for the placeholders

# Replace the placeholders and complete the Python program. In this task we give you some lists. You are to write a function called def someSame (one, two): loop for one list someSame. loop for second list: if statement 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. return vaue to return # 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] # See if these two lists have one element the same print(someSame (someNumbers, some0therNumbers)) # Define another list someMoreNumbers [111,222,333,444,555,6,777,888,999,1000] # Check the new list and one of the others print(someSame (someNumbers, someMoreNumbers))

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

Step: 3

blur-text-image

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

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions

Question

What is a POP?

Answered: 1 week ago

Question

Describe a typical interpersonal skills training program

Answered: 1 week ago

Question

Draw and explain the operation of LVDT for pressure measurement

Answered: 1 week ago

Question

=+j Describe the various support services delivered by IHR.

Answered: 1 week ago