(Jul-10-2018, 05:31 PM)amandio Wrote: Is Python strongly or weakly typed?Python is strongly typed.
>>> a = 5 >>> b = '6' >>> a + b Traceback (most recent call last): File "<string>", line 428, in runcode File "<interactive input>", line 1, in <module> TypeError: unsupported operand type(s) for +: 'int' and 'str'To read more about it:
Why is Python a dynamic language and also a strongly typed language