Robotics & Artificial Intelligence

Fill in the blanks:

  1. """Hello How are you?
    I am good.""" is an example of ……………. .
  2. The ……………. operator returns true if a character does not belong to a string.
  3. In Python ……………. is used to introduce a new line.
  4. The ……………. function takes an iterator as an input of argument.
  5. The isdigit() function returns ……………. if all the elements in the string are digits.

Python String Manipulation

1 Like

Answer

  1. """Hello How are you?
    I am good.""" is an example of Multiline string.
  2. The not in operator returns true if a character does not belong to a string.
  3. In Python \n is used to introduce a new line.
  4. The join function takes an iterator as an input of argument.
  5. The isdigit() function returns True if all the elements in the string are digits.

Answered By

2 Likes


Related Questions