📑 Task
1) What will be the result of the calculation?2) Can you suggest a program that will explain the result?
📑 Answer
1) The built-in function isinstance(x, int) classifies the values True and Falseas integers and this program counts them in the variable integers_found
So the result will be: integers_found = 6; bools_found = 0
2)
No comments:
Post a Comment