Doubt in intializing

How do you initialize a variable to int or float in Python ?

python is a dynamic typed programming language, so all you need to do is naming the variable, then python takes care of the data type

1 Like