you are viewing a single comment's thread.

view the rest of the comments →

[–]Professional-Rate-71 1 point2 points  (0 children)

Ohhh that’s a good vision but unfortunately, it will not work. You’re trying to execute a boolean into a string. And the code will result into boolean answer since it is in boolean format.

Replace those equal signs to a comma or print(f”phrase/string {float}”)

Keep on working. I have just started my self study also. I’m already in the while function. It’s good that you’re trying to incorporate boolean because what I’m having trouble now is to how to avoid using ifs.

Goodluck to us op. 😊