Solution of Excercise 3
dear sir/mam
Assignment-3 1. Check the output of a)round(2.48) 

the ans is stated as 2.0. but the syntax tells returns a int.
kindly clarify

Python-3.4.3 Getting-started-with-IPython 07-08 min 50-60 sec 05-05-20, 8:26 p.m. Hemaams

Answers:

Try this int(round(2.48))
05-05-20, 8:48 p.m. iakashchavan


Click here to reply/comment online