in var_num is date object then set str as “var_num is date object”
Description
:
In the example, var_num variable is declared and assigned with value. As the variable is date_object, then if date_obj condition will get satisfied and the logic inside will get executed.