if

Recherche

Voici les résultats de votre recherche.

notions_fondamentales @teaching:progappchim
38 Occurrences trouvées, Dernière modification :
mots réservés » utilisés par le langage lui-même (if, elif, while, for, else, print,...). * Instruct... cs.python.org/3/reference/compound_stmts.html#the-if-statement|documentation officielle]] ou [[http://... ou "faux" (false). Exemple : <code python> a = 0 if a > 0 : print("a est positif") print("car... " sous-tend une condition alternative. un simple "if" correspond à une expression conditionnelle. *
stackexchange-chimie
16 Occurrences trouvées, Dernière modification :
44/can-an-atom-have-more-than-8-valence-electrons-if-not-why-is-8-the-limit|Can an atom have more than 8 valence electrons? If not, why is 8 the limit ?]] * [[http://chemistr... tackexchange.com/questions/6751/how-does-one-tell-if-a-specific-molecule-is-acidic-or-basic|How does one tell if a specific molecule is acidic or basic?]] * [[h
representation_molecules_2013 @teaching:progappchim
15 Occurrences trouvées, Dernière modification :
' intag = [False] def chk(c): if intag[0]: intag[0] = (c != '>') ... return True return ''.join(c for c in s if chk(c)) def find_words(text, search): ''' Se... /stackoverflow.com/questions/5319922/python-check-if-word-is-in-a-string ''' dText = {} dS... : for search_word in dSearch: if hash(search_word) == hash(text_word):
5_conceptions_erronees_courantes_sur_l_apprentissage
14 Occurrences trouvées, Dernière modification :
fit from quite different types of instruction]]. If you ask a history student to read a source docume... e cues. ===== 2. You understand concepts better if you discover them for yourself ===== I recently ... imminent. Do I now understand toilets better than if a plumber had been alongside me, explaining exact... a-cognition is a short-cut to expertise ===== So if simply imitating the behaviour of an expert will
calcul_matriciel_2012 @teaching:progappchim
12 Occurrences trouvées, Dernière modification :
Rep=[] for i in range(Mlin): if i!=m: for j in range(Mlin): if j!=n: result.append... " retourne le déterminat de la matrice A" if len(A)==1: return A[0][0] else:... rime 1ere ligne et colonne de A if j%2==0: #(-1)^(i+j) * Det("matrice où on retire 1
algos_entiers @teaching:progappchim
11 Occurrences trouvées, Dernière modification :
(n): for x in range(2,int(n**0.5)+1): if n % x == 0: return False return T... f primelist(n): return [a for a in range(2,n) if isprime(a)] p=primelist(1000) print(p) </code> ... : ncur += 1 return [a for a in li if a != 0] # renvoie une liste avec les élements no... com/software-development/python/code/216880/check-if-a-number-is-a-prime-number-python]] * [[http://
game_of_life_conway-2012 @teaching:progappchim
10 Occurrences trouvées, Dernière modification :
A living cell dies of overcrowding or loneliness if it has more than three or fewer than two neighbours; a dead cell is brought to life if it has exactly three neighbours (determined in Ce... will be alive at the next iteration.""" if self.state==Cell.LIVE and \ (numNeigh... ,newstate): self.state = newstate if self.state==Cell.LIVE: self["bg"] = "
pavage_penrose_2013 @teaching:progappchim
10 Occurrences trouvées, Dernière modification :
= [] for color, A, B, C in triangles: if color == 0: # Subdiviser des petits t... tourne cet entier""" split = s.split(" ") if len(split) == 2: a = convert_to_positive_... b = convert_to_positive_int(split[1]) if a != None and b != None: return (a, b... haine s est un entier, retourne cet entier""" if s.isdigit() and long(s) > 0: return l
desinformations
9 Occurrences trouvées, Dernière modification :
ple are not informed; how can you have an opinion if you are not informed? If everybody always lies to you, the consequence is not that you believe the li... he remaining uncertainty regarding causation and, if indeed causal mechanisms are at play, the very sm... ://www.sciencealert.com/we-literally-have-no-idea-if-microplastics-in-our-water-is-bad-for-our-health|
suite_de_fibonacci-3 @teaching:progappchim
8 Occurrences trouvées, Dernière modification :
ndice n de la suite de Fibonacci """ ... if __name__ == '__main__': # le programme "princ... Le rôle de la structure conditionnelle **<nowiki>if __name__ == '__main__':</nowiki>** est de n'exécu... la suite de Fibonacci """ a, b = 0, 1 if n == 0: return a elif n == 1: ... range(1,n): a, b = b, a + b return b if __name__ == '__main__': i = int(input("Suite
courbe_predominance_acide_2013 @teaching:progappchim
7 Occurrences trouvées, Dernière modification :
ser (valeur 0) pH = 0. #pH de départ if n==3: Ka1=10**(-pKa1) Ka2=10**(-p... ra le champs ou l'on donnera le pKa1 if n > 1 : #paramètre demander si la m... e champs ou l'on donnera le pKa2 if n == 3 : #paramètre demander si la ... .get()) pKa2 = 0 pKa3 = 0 if n > 1: pKa2 = float (champ2.get())
presentation_principes @teaching:progappchim
7 Occurrences trouvées, Dernière modification :
nelle ==== Instruction d’exécution conditionnelle if...elif...else (si...sinon-si...autrement) * Commence par **if expression** : * Si l’expression est vraie, le ... code python> a = int(input('Donnez une note ? ')) if a >= 18: print("Excellent") elif a >= 16: ... , dt, flag x1, y1 = x1 +vx*dt, y1 + vy*dt if x1 < 0 or x1 > 220: vx=-vx if y1 < 0
solubilite_ph_t @teaching:progappchim
7 Occurrences trouvées, Dernière modification :
été mise pour permettre au programme de continuer if ka3 ==0: precipites[p].pop() #la valeur 0 pos... divise par les ka, On la retire donc de la liste if ka2 ==0: precipites[p].pop() #idem if ka1 ==0: precipites[p].pop() #idem a = float (pr... (G/R)*((1/T)-(1/Ti))) #Relation de Van't Hof if len(precipites[p]) == 5: #si la longueur de la l
suite_de_fibonacci-4 @teaching:progappchim
6 Occurrences trouvées, Dernière modification :
t d'indice n de la suite de Fibonacci """ if n == 0: return 0 elif n == 1: ... tem_recursive(n-1)+fibonacci_item_recursive(n-2) if __name__ == '__main__': i = input("Suite de F... def fibo2(n): """Renvoie F_{n-1}, F_n""" if n == 0: # cas de base return 1, 0 # F_{... f2_k = f_k**2 # F_k^2 if n%2 == 0: # n pair return f2_k + f_k
tris @teaching:progappchim
6 Occurrences trouvées, Dernière modification :
i d'éléments entiers. """ def quicksort(li): if li == []: return [] pivot = li[0] equal =... [pivot] lesser = quicksort([x for x in li[1:] if x <= pivot]) # si x < pivot : élimination des do... ublons greater = quicksort([x for x in li[1:] if x > pivot]) return lesser + equal + greater ... sible : <code python> ... def quicksort(li): if li == []: return [] pivot = li[0] return
adamboxer-approche_pas_a_pas_des_travaux_pratiques
5 Occurrences trouvées, Dernière modification :
psychologie_de_l_education
5 Occurrences trouvées, Dernière modification :
the_need_for_a_theory_of_learning
5 Occurrences trouvées, Dernière modification :
poker_menteur @teaching:exos
5 Occurrences trouvées, Dernière modification :
fizz_buzz @teaching:progappchim
5 Occurrences trouvées, Dernière modification :
codes_presentation @teaching:progappchim
4 Occurrences trouvées, Dernière modification :
gaz_parfait_2011 @teaching:progappchim
4 Occurrences trouvées, Dernière modification :
polynomes-10 @teaching:progappchim
4 Occurrences trouvées, Dernière modification :
paradoxe_anniversaires @teaching:exos
3 Occurrences trouvées, Dernière modification :
conversion_temperature_2011 @teaching:progappchim
3 Occurrences trouvées, Dernière modification :
dictionaries_adn_arn_protein @teaching:progappchim
3 Occurrences trouvées, Dernière modification :
ensemble_mandelbrot_2013 @teaching:progappchim
3 Occurrences trouvées, Dernière modification :
polynomes-11 @teaching:progappchim
3 Occurrences trouvées, Dernière modification :
suite_de_fibonacci-5 @teaching:progappchim
3 Occurrences trouvées, Dernière modification :
system_of_linear_equations @teaching:methcalchim
2 Occurrences trouvées, Dernière modification :
bioinformatic @teaching:progappchim
2 Occurrences trouvées, Dernière modification :
notions_avancees @teaching:progappchim
2 Occurrences trouvées, Dernière modification :
openbabel_jmol @teaching:progappchim
2 Occurrences trouvées, Dernière modification :
osm_interrogation @teaching:progappchim
2 Occurrences trouvées, Dernière modification :
ph_acides_bases_2013 @teaching:progappchim
2 Occurrences trouvées, Dernière modification :
ph_courbe_titrage_2011 @teaching:progappchim
2 Occurrences trouvées, Dernière modification :
polynomes-7-contrib1 @teaching:progappchim
2 Occurrences trouvées, Dernière modification :
polynomes-bonus @teaching:progappchim
2 Occurrences trouvées, Dernière modification :
biblio-10.1007-s10648-021-09646-1
1 Occurrences trouvées, Dernière modification :
biblio-10.1021-ed074p262_10.1039-b801297k
1 Occurrences trouvées, Dernière modification :
initinfo
1 Occurrences trouvées, Dernière modification :
timeline-chimie
1 Occurrences trouvées, Dernière modification :
numerical_integration @teaching:methcalchim
1 Occurrences trouvées, Dernière modification :
root-finding_algorithm @teaching:methcalchim
1 Occurrences trouvées, Dernière modification :
collection_counter_exemple @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
dictionary_adn_protein @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
diffusion_chimique_1d @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
elements_molecules @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
factorielle-3 @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
factorielle-4 @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
fit_modele_einstein @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
glossaire_chimie @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
grille_configurations_melange_binaire_2013 @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
koch_snowflake @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
lennard-jones @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
matplotlib_simple @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
matrices @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
mendeleev @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
polynomes-7 @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
polynomes-8 @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
regression_lineaire_2013 @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
solvents_data_class @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
tkinter_gui_simple @teaching:progappchim
1 Occurrences trouvées, Dernière modification :
pka_pkb_plane @teaching:progappchim:matplotlib_gallery
1 Occurrences trouvées, Dernière modification :
potentiel_morse @teaching:progappchim:matplotlib_gallery
1 Occurrences trouvées, Dernière modification :