teaching:progappchim:testjs

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
teaching:progappchim:testjs [2017/03/06 00:09] – créée villersdteaching:progappchim:testjs [2017/03/06 00:34] villersd
Ligne 1: Ligne 1:
-====== Test JS ======+====== Test Javascript + dokuwiki + DataCamp-ligh ======
 <PRELOAD> <PRELOAD>
 https://cdn.datacamp.com/datacamp-light-latest.min.js https://cdn.datacamp.com/datacamp-light-latest.min.js
 </PRELOAD> </PRELOAD>
  
-test 
 <html> <html>
   <div class="exercise">   <div class="exercise">
     <div class="title">     <div class="title">
-      <h2>This is an python exercise with a plot</h2>+      <h2>This is python exercise !!</h2>
     </div>     </div>
  
Ligne 15: Ligne 14:
       <code data-type="sample-code">       <code data-type="sample-code">
         import numpy as np         import numpy as np
-        import matplotlib.pyplot as plt 
- 
         x = np.arange(0, 5, 0.1);         x = np.arange(0, 5, 0.1);
         y = np.sin(x)         y = np.sin(x)
-        plt.plot(x, y+        print(x) 
-        plt.show()+        print(y)
       </code>       </code>
       <code data-type="solution"></code>       <code data-type="solution"></code>
  • teaching/progappchim/testjs.txt
  • Dernière modification : 2017/05/04 16:13
  • de villersd