python beginner format string problem

data = (“John”, “Doe”, 53.44)
format_string = “Hello”

print("%s %s %s , Your current balance is %.2f" %(format_string,data))

why does the above code not run and how can i correct it

Actually, this forum is not for such questions. Here should ask questions which are related to algorithms or algorithmic problems or stuff relevant to competitive programming.

1 Like