Challenge for Python Basics

Challenge

What will the following code print?

dollars = 23
cents = 34
print("He has ${0}.{1}".format(dollars, cents))

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]