Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

write down the pycharm code for 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_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

More Books

Students also viewed these Databases questions

Question

1. In what ways has flexible working revolutionised employment?

Answered: 1 week ago