►
Run
string = '3+5j' complex1 = complex(string) print(complex1)
Output