What will be the output of the following?
i) print(len(str(17//4))
ii) print(len(str(17/4))
Answers
Answered by
0
Answer:
ii
ii print
thank you
for a question
Answered by
12
Answer:
hello,
Explanation:
__________________________________________________________
i) print(len(str(17//4))
solution:
17 // 4 = 4
str ( 17 // 4 ) = ' 4 '
len (( str ( 17 // 4 ))) = 1
hence the output is:
1
__________________________________________________________
ii) print(len(str(17/4))
solution:
17 / 4 = 4.25
str (17 / 4) = '4.25'
len ( str ( 17 / 4 ) ) = 4
hence the output is:
4
__________________________________________________________
hope it helps you
please mark brainliest
@ItzSnowySecret07
Similar questions
Math,
2 months ago
Math,
5 months ago
Computer Science,
11 months ago
Math,
11 months ago
English,
11 months ago