Write an assert statement that triggers an Assertion Error if the variables eggs and bacon contain strings
Question:
Write an assert statement that triggers an Assertion Error if the variables eggs and bacon contain strings that are the same as each other, even if their cases are different (that is, 'hello' and 'hello' are considered the same, and 'goodbye' and 'GOODbye' are also considered the same).
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Automate The Boring Stuff With Python Practical Programming For Total Beginners
ISBN: 9781593275990
1st Edition
Authors: Al Sweigart
Question Posted: