Calculate the product of savings and growth_multiplier. Store the result in year1. What do you think the resulting type will be? Find out by printing out the type of year1. Calculate the sum of desc and desc and store the result in a new variable doubledesc. Print out doubledesc. Did you expect this?

Respuesta :

Explanation:

growth_multiplier  is 1.1

savings = 100

desc = "compound interest "

# Place product of growth_multiplier and savings  to year 1

Year 1 =  growth_multiplier* savings  

# Print  

print(type(year1))

Now,

# Place addition of desc & desc  

doubledesc  will be  desc + desc

# Print doubledesc

print(doubledesc)

ACCESS MORE