Computer Science, asked by abhijeetas590, 10 months ago

what's dynamic type in python? Explain with example​

Answers

Answered by hennayeahyea91
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 sahilsinghhaz12394
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