Logo

Programming-Idioms

History of Idiom 94 > diff from v44 to v45

Edit summary for version 45 by programming-idioms.org:
Admin deletes impl 3715:

Version 44

2020-03-01, 04:00:55

Version 45

2020-03-16, 22:09:52

Idiom #94 Print type of variable

Print the name of the type of x. Explain if it is a static type or dynamic type.

This may not make sense in all languages.

Idiom #94 Print type of variable

Print the name of the type of x. Explain if it is a static type or dynamic type.

This may not make sense in all languages.

Code
print(type(x))