what's dynamic type in python? Explain with example
Answers
Answered by
2
Python variable assignment is different from some of the popular languages like c, c++ and java. ... Example: initializing a string value to an int variable is not allowed and the program will not compile. But Python is a dynamically typed language. It doesn't know about the type of the variable until the code is run.
Answered by
0
Answer:
Python variable assignment is different from some of the popular languages like c, c++ and java. ...Example: initializing a string value to an int variable is not allowed and the program will not compile. But Pythonis a dynamically typed language. It doesn't know about the type of the variable until the code is run.
Similar questions