hales2362 hales2362
  • 06-11-2017
  • Biology
contestada

Python allows you to compare strings, but it is not case sensitive.

Respuesta :

Kalahira
Kalahira Kalahira
  • 15-11-2017
Python is Highly case sensitive language. We can use > , < , <= , <= , == , != to compare two strings. Python compares string using ASCII value of the characters. For example name as "MIDHUN" and name1 as "Midhun" . The first two characters from name and name1 ( M and M ) are compared. As they are equal, the second two characters are compared. Since the ASCII values are not equal the result is not equal.
Answer Link

Otras preguntas

• the court system makes a ruling on a case • legislators amend an old policy or pass a new policy Which is a good title for the examples in the box above? A.
Why was Kiev a better city than Novgorod for the early Rus people? * 1 point Closer to the great city of Constantinople Located on the Dnieper River - better fo
Which statement best describes how to determine whether f(x)=x^2-x+8is an even function?
Is establish a postal system a federal power or a state power?
Who did Prince Charming put into the dungeon?JillJackQueen of Fairy Tale LandGoldilocks
Why would Roosevelt never agree with to Long's Share Our Wealth plan? A. Because he hate Long. B. Because Long was richer than him. C. Because he was one of the
Quadrilateral ABCD is inscribed in OZ such that and mZBZC = 78. Find mZDCA.
[tex]1 \times 1[/tex]​
What are the key beliefs of communism
Select the correct answer.Simplify:[tex]3 \times {3}^{2} + 8 \div 2 - (4 + 3)[/tex]А. 23B. 30C. 24D. 32​