What will the output of the following Python3 program (using python 3.X version)? n = 13
sum = 0
while (n > 1):
n = n//2
sum = sum + n
print(sum)
Answers
Answered by
4
Answer:
here is the answer of your Python program that you have given
Attachments:
Similar questions
Political Science,
1 month ago
Environmental Sciences,
1 month ago
Social Sciences,
1 month ago
Science,
2 months ago
English,
2 months ago
Math,
9 months ago