What is the datatype of variables num_new and num_sum ?
num1 = 123
num2 = 1.23
num_new = num1 + num2
num3 = "456"
num3 = int(num3)
num_sum = num1 + num3
Answers
Answered by
0
Answer:
data type of num_new should be float or decimal so that it can hold decimal digits .
data type of num_sum can be int or float or decimal
Similar questions
Science,
4 months ago
Physics,
4 months ago
Math,
4 months ago
Social Sciences,
8 months ago
Social Sciences,
8 months ago
Math,
1 year ago
Math,
1 year ago