Question #918

Which one is explicit?

Conversion is explicit. Coercion is implicit.


1.0 + 2  #coercion
1.0 + float(2) #conversion

(stackoverflow.com/a/1602216/7938152)


Comment on Disqus:

Question difficulty: πŸ”΅πŸ”΅πŸ”΅πŸ”΅πŸ”΅


Similar questions: