def check(value):
if(value==100);
print("value is 100")
else:
print("incorrect value")
>>>check(100
what is output of the given code
Answers
Answered by
0
Answer:
your code is wrong !!!
Explanation: so this is the corrected code
def check():
a=int(input("enter the value"))
if(a==100):
print("value is 100")
else:
print("incorrect value")
check()
Similar questions
Social Sciences,
2 months ago
Math,
2 months ago
Computer Science,
2 months ago
Biology,
4 months ago
Chemistry,
4 months ago
Math,
10 months ago
History,
10 months ago