What is the output of the following code ?
def disp(*arg): for i in arg: print(i) disp(name="Rajat", age="20")
निम्नलिखित कोड का आउटपुट क्या होगा?
What is the output of the following code?
x = 50 def func (x): x = 2 func (x) print ('x is now', x)
What will be the output of the following Python code?
example = "helle" print(example.rfind("e"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
In Python, the rfind() method is a string method that is used to find the highest index of a substring in a given string. It is similar to the find() method, but instead of starting the search from the beginning of the string, it starts from the end and searches towards the beginning.
What is the value of the following Python code?
>>>print(36 / 4)
निम्नलिखित पायथन कोड का वैल्यू क्या है?
What is the output of following Python code?
>>print(5*(2//3))
निम्नलिखित पायथन कोड का आउटपुट क्या है?
count() function is used to count the frequency of particular character or substring in a given string.
hear we count the frequency of 'l' in "hello" word which is 2 so 2 is the correct answer
What is the output of the following
y='klmn' for i in range(len(y)): print(y)