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,
3 months ago
Accountancy,
7 months ago
History,
7 months ago
Chemistry,
1 year ago
Biology,
1 year ago