Q. Int(‘a’) produces error. Why? 


Answer :

Int (‘a’) produces an error because here ‘a’ is a string, while int function is used to change numbers from fractions to integer. but here ‘a’ is a string so when int function work then it produces error .


You can understand by watching videos -----



2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. Please correct the spelling of string in second line

    ReplyDelete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post