Programming help? What's the difference between implicit cast and explicit cast?

vecoma

New member
Hi i'm in computer science, and we use the language python to program.
Can someone help me answer this question and explain to me the difference between implicit and explicit casting?

For each of the following cases, identify which is an explicit cast and which is an implicit cast.

1) int(x)
2) 17 / 1.0
3) str(15.0)
4) print 15.0
 
Back
Top