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