Computer Science, asked by mohitsolanki9024, 4 months ago

2
What is the problem with the following code fragment:
A=15
N="Ankit
print(A+B)​

Answers

Answered by Anonymous
0

Answer:

Hey Mate, Here is 2 problems with the given code fragments. First is that, you have not defined B variable in which either float or Integer data should be stored for doing arithmetical operations. Second Problems is that you have not closed Data of N variable with double inverted commas. If you are thinking to change B to N then, you have to change data of N to Integer data type or To Float Data Type.

Similar questions