PyTest - Writing Assertions
Which of the following is the correct syntax to assert that the number 10 is in the list
nums = [5, 10, 15] using pytest?nums = [5, 10, 15] using pytest?assert element in collection.assert 10 in nums.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions