Difference between revisions of "User:Praveer-mathur-9f3d@uni-bonn.de"

From HPC Wiki
Jump to navigation Jump to search
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Quiz === <!--T:5--
+
[[/intro-to-programming-with-python]]
  
What values do the two variables "mass" and "age" have in the following lines?
+
[[/python-on-hpc]]
  
{{hidden begin
+
[[/version-control-with-git]]
|title = mass = 47.5 <br> print(mass)
 
}}
 
<quiz display=simple>
 
{
 
|type="()"}
 
+  Click and submit to see the answer
 
|| <code>47.5</code>
 
</quiz>
 
{{hidden end}}
 
  
{{hidden begin
+
[[/intro-to-working-on-hpc-clusters]]
|title = age = 122 <br> print(mass, age)
 
}}
 
<quiz display=simple>
 
{
 
|type="()"}
 
+  Click and submit to see the answer
 
|| <code>47.5 122</code>
 
</quiz>
 
{{hidden end}}
 
 
 
{{hidden begin
 
|title = mass = mass * 2.0 <br> print(mass, age)
 
}}
 
<quiz display=simple>
 
{
 
|type="()"}
 
+  Click and submit to see the answer
 
|| <code>95.0 122</code>
 
</quiz>
 
{{hidden end}}
 
 
 
{{hidden begin
 
|title = age = age - 20 <br> print(mass, age)
 
}}
 
<quiz display=simple>
 
{
 
|type="()"}
 
+  Click and submit to see the answer
 
|| <code>95.0 102</code>
 
</quiz>
 
{{hidden end}}
 

Latest revision as of 16:35, 18 March 2026