f string conditional code example Example: f string conditional string = f'I am {num:{".2f" if ppl else ""}}'