🐍 Assert keyword simply checks if a condition returns true or false. It is a short for writing if statement to check if something is true or false. Syntax assert <condition>, <optional message> Optional message in the syntax is optional. It is displayed in the error when the condition is false. When the condition is false, the code will also not proceed any further. It ends the program there and returns and error with the message, if it is mentioned. Example assert 25%2==0, 'Add 1 to the number'
Project Weekay | Resume | LinkedIn Profile
NodeJS, AWS, MongoDB, ReactJS, Django, Python, ML with Scikit Learn, Matplotlib, Seaborn
Engineering, UX, Marketing, Product Designing, Business
sayhellotovinit@gmail.com | +91 99239 08880 | Pune, India