Logo

Programming-Idioms

History of Idiom 94 > diff from v30 to v31

Edit summary for version 31 by ht:
New Python implementation by user [ht]

Version 30

2018-01-14, 07:26:08

Version 31

2018-02-06, 22:52:03

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(list(range(10)))