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 -----
You can understand by watching videos -----
Please correct the spelling of string in second line
ReplyDeleteSorry, I have corrected it.
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )