0

why in the description of type convertion there is no print command but in the "try it yourself " part?

in the example part of the type convertion description there is only "float(input...)" but in the "try it yourself " part it's showing "print(float(input....)) why is it different???

30th Aug 2016, 2:55 PM
M. Shahriar Rezoan
M. Shahriar Rezoan - avatar
1 Answer
+ 1
print function is used to get output. If will not use print then there will be no output means no results of your code.
31st Aug 2016, 2:52 AM
Pushpendra Tripathi
Pushpendra Tripathi - avatar