What is wrong with the following
statement ?
Number = input("Number")
Sqr = Number*Number
Answers
Answered by
1
Answer:
nothing wrong
Explanation:
but maybe wrong in code statement preview
Answered by
4
The wrong statement is
Sqr = Number*Number
This is because Number is taking input as a string and so you cannot multiply a string by another string. It makes no total sense. Multiplying two strings is like multiplying hello and hello. It’s not possible.
Hope this answer helps you :) Kindly Mark this answer brainliest
Sqr = Number*Number
This is because Number is taking input as a string and so you cannot multiply a string by another string. It makes no total sense. Multiplying two strings is like multiplying hello and hello. It’s not possible.
Hope this answer helps you :) Kindly Mark this answer brainliest
Similar questions
Math,
2 months ago
Math,
2 months ago
Accountancy,
5 months ago
History,
5 months ago
Chemistry,
10 months ago
CBSE BOARD XII,
10 months ago
Biology,
10 months ago