11th Aug 2019, 3:24 PM
Nada El Annasi
Nada El Annasi - avatar
1 Answer
+ 2
Well assert gives the AssertionError if the condition is NOT met. Therefore, what you should be doing is: assert (x>=0), "Negative!"
11th Aug 2019, 3:33 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar