Vicki, once a manager of aircraft maintenance, is now charming Python & Ruby. She has coded OpenGates.dev, #VetsWhoCode bot, Code Questions bot, & LGBTQ of the Day Bot. They love relatable writing.
Location
Richmond, Virginia
Education
Self Taught Python/Ruby, BBA in Small Business Mgmt, AS in Production Mgmt
So, part of my problem understanding your original post was that I had never seen assert before. I've read up on it and now I think I can make sense of this.
If I'm now understanding correctly, and & or statements seem similar to if, else, and elif statements.
I'm thinking something like this is a simple enough example.
So, part of my problem understanding your original post was that I had never seen
assert
before. I've read up on it and now I think I can make sense of this.If I'm now understanding correctly,
and
&or
statements seem similar toif
,else
, andelif
statements.I'm thinking something like this is a simple enough example.