πŸ“Š Python
Q. Write the output of the following code
Code:
s1="csiplearninghub.com"
c=0
for x in s1:
     if(x!="l"):
          c=c+1
print(c)
  • (A) 16
  • (B) 19
  • (C) 17
  • (D) 18
πŸ’¬ Discuss
βœ… Correct Answer: (D) 18

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
183
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Manisha Agrawal
Publisher
πŸ“ˆ
85%
Success Rate