6. What do you understand by Typecasting in Python with the help of examples?
7. Comments are an easy way to enhance readability and understandability of a program'. Which operator is used to
write a comment in Python? Elaborate with examples.
Answers
Answered by
3
Answer:
Answer 6= Python avoids the loss of data in Implicit Type Conversion. Explicit Type Conversion is also called Type Casting, the data types of objects are converted using predefined functions by the user. In Type Casting, loss of data may occur as we enforce the object to a specific data type.
In computer programming, a comment is a programmer-readable explanation or annotation in the source code of a computer program. They are added with the purpose of making the source code easier for humans to understand, and are generally ignored by compilers and interpreters.
Answer 7=
Similar questions