R
Q. What will be the output of given Python code?
str1="hello" c=0 for x in str1: if(x!="l"): c=c+1 else: pass print(c)
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. The list.index(x[, start[, end]]) is used to ___.
Q. Write the output of the following:
Q. Write the output of the following:
Q. Which of the following is not a conditional statement in Python?
Q. Which of the following cannot be declared as a variable?
Q. Which of the following modules need to be imported to handle date time computations in Python?
Discusssion
Login to discuss.