Summing and converting variables

Report a typo

You are given a Python code where two variables 'number_var' and 'string_var' are defined. Your task is to fill the blanks in the code to convert 'string_var' to an integer and add it to 'number_var'. Then, convert the sum to a string and concatenate it with 'The sum is: ' to print the output.

Fill in the gaps with the relevant elements
number_var = 10
string_var = "30"
sum_var = number_var + (string_var)
print("The sum is: " + (sum_var))
strint
___

Create a free account to access the full topic