-6

Definition of savings and result

savings = 100
result = 100 * 1.10 ** 7

Fix the printout

print("I started with $" + savings+  " and now have $" + result+  " Awesome!")

Definition of pi_string

pi_string = "3.1415926"
Alan Kavanagh
  • 9,425
  • 7
  • 41
  • 65

1 Answers1

-1

You can either convert the ints into strs like this:

print("I started with $" + str(savings)+  " and now have $" + str(result)+  " Awesome!")

or use a string formatting like this:

print("I started with ${} and now have ${} Awesome!".format(savings, result))
WofWca
  • 571
  • 3
  • 11