Monday, 5 November 2018

What is dynamic type language?tccicomputercoaching.com

Statically typed programming languages do type checking (the process of verifying and enforcing the constraints of types) at compile-time as opposed to run-time. Dynamically typed programming languages do type checking at run-time as opposed to Compile-time.

Python is a strong, dynamically typed . As the interpreter keeps track of all variables types.

This feature makes python syntax wise very easy. There is no need to declare data type with variable declaration time.

For example ,

In C , C++

int a=78;

float b=90.876;

If we forget to write data type then it will be compile time Error.

But in Python just simple declare

a=10;

b=90.876;

Whatever value assigned to the variable that related type is assigned at run time.

To learn more in detail Programming Languages like C , C++, Java , Python , Data Structure at TCCI.

Call us @ 98256 18292.

Visit us @ http://tccicomputercoaching.com/

No comments:

Post a Comment