fahadalisaleh4118 fahadalisaleh4118
  • 23-08-2019
  • Computers and Technology
contestada

What is the difference between ‘’ and “” string type in python?

Respuesta :

Mustela Mustela
  • 26-08-2019

Answer:

There is no difference between ‘’ and “” string type in python. Both are used to hold the string or sequence of character in the python. triple """ """ can also use for the same.

Example:

str1 = "aeiou"

str2 = 'aeiou'

str3 =""" hello"""

print(type(str1), type(str2),type(str3))

<class 'str'> <class 'str'> <class 'str'>

Here all are used to hold string or sequence of character.

Answer Link

Otras preguntas

what is a art related question ​
Why is fractional distillation not used to produce drinking water from sea water?
Maribel is telling her friend Nuria what retirement celebrations for important employees are like in her country. Complete her description by choosing the corr
which of the following DOES NOT create a new layer?
How are Sikh and Christian music different?
answer the question for good boy stars
Who was Bartolomeu Dias? a. He was commander of the conquistadors in the New World. b. He was the first European to make it to Asia. c. He was the financier of
A day was twenty-four hours long but seemed longer. There was no hurry, for there was nowhere to go, nothing to buy and no money to buy it with, nothing to see
This Jewish group wanted to cooperate with the Romans to keep peace. a Diaspora b Sadducees c Essenes d Pharisees
Explain how you can find the sign of the product of two or more rational numbers. Highlight the correct words below to complete the explanation.