a=input("Enter a number")
if a>0:
priNt(a*5)
What will be the output if the value entered is 4?
A. 4
B. 20
C. 44444
D. ERROR
A B
C d
Answers
Answered by
0
Answer:
20
Explanation:
because 4×5 20 it may be use full to u and study well
Answered by
10
Given códe:-
a=input("Enter a number")
if a>0:
⠀⠀⠀print(a*5)
If the value of a=4
Here what it happens
Line 1:- Value entered, a=4
Line 2:- Condition check, Is a>0? Yes 4 is greater than 0
Line 3:- If the above condition is true, control will execute this line, Since 4>0 condition true, it will execute print(a*5)
4*5=20. Therefore output will be 20
Correct Answer:-
- Option B: 20
Similar questions
Social Sciences,
4 hours ago
India Languages,
4 hours ago
Math,
4 hours ago
Hindi,
7 hours ago
Accountancy,
7 hours ago
English,
8 months ago
Computer Science,
8 months ago