Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Let's see...

sage: λ = 89                                                                                                                  
sage: print(λ)                                                                                                                
89
sage: print("λ is %s" % λ)                                                                                                    
λ is 89
sage: print("λ is {}".format(λ))                                                                                              
λ is 89
sage: print(f"λ is {λ}")                                                                                                      
λ is 89
sage: print("λ² + λ is {}".format(λ^2+λ))                                                                                     
λ² + λ is 8010

sage: probabilité = 1/3                                                                                                       
sage: q = 1 - probabilité                                                                                                     
sage: q                                                                                                                       
2/3

... ça marche...