Change the type of the variable from one type to another type. When you want to specify a type to a variable you can use casting.

Example

y = float(302)

z = int(3.14)

a = str(34) 

here in the above examples, the value of 302 is casted as float. The value of 3.14 is casted as integer and the value of 34 is casted as a string which gives the value "34".