The answer is option D (str(x)). str(x) converts the object to a string in python.
#Convert string to float
x = 1234
x1 = str(x)
type(x1) #check the datatype after conversion
Output:
str
You can check out this Python Functions to understand in-detail about data type conversions with examples.
Also, watch this video on Python Functions: