What is 'Type Checking'?

Asked by blessing007 · 6 months ago

1 Answer

48
amorebise · 6 months ago Top Answer

We use the type() function to see what kind of data we have. It will tell you if it's a string, an integer, or something else.

It’s like checking the label on a medicine bottle before you use it. It helps you avoid errors by making sure you are using the right kind of data for the job.

Log in to add a comment.