Questions et réponses pour le string :

Une chaîne est une séquence finie de symboles, couramment utilisée pour le texte, mais parfois pour des données arbitraires.

3
votes
s'il existe un dictionnaire: str(dict.key()) # returns 'dict' object has no attribute 'key' json.dump(dict) # returns {'a':'b'} in string, but hard to process en python 3, je voudr ...

3
votes
public static int countVowels(String[] ar1){ // this method counts int a = 0; String[] ar2 = new String[]{"a", "e", "i", "u", "y", "o"}; for(int i = 0; i < ar1.l ...

3
votes
J'ai deux chaînes val c = listOf(a, b) val d = c.flatMap { it.toList() } Je veux le fusionner et j'ai besoin d'une sortie comme ci-dessous ...

3
votes
J'ai ceci, import java.util.Scanner; public class StringDecimalPartLength { public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.prin ...