+ 1
What is Typecasting?
Can someone explain what the Typecasting is with a python or other language example 🥀
2 Antworten
+ 3
Kindly use a search bar like this type of questions are asked multiple times. I have attached a few below
https://www.sololearn.com/discuss/195394/?ref=app
https://www.sololearn.com/discuss/1630825/?ref=app
https://www.sololearn.com/discuss/85679/?ref=app
0
F R E E Z O ❄️ ,
since you already have finished the basic c course and also have progressed a python course, you should be able to answer this question by yourself.
type casting is a term that describes the conversion of data into other data formats.
example:
take an input of a number in python and store it in a variable. by default, an input is string.
if we need to use this input for calculation, we have to convert the input `string number` to a real number like integer or float.
number = int(input())



