loops/questions.rst
changeset 293 ca701f1ef7fb
parent 254 c43677920502
child 366 894591150f7b
equal deleted inserted replaced
292:de96931fac21 293:ca701f1ef7fb
    69              pass
    69              pass
    70              print i * j
    70              print i * j
    71 
    71 
    72    Answer::
    72    Answer::
    73      
    73      
    74      1
       
    75      2
       
    76      3
       
    77      2
       
    78      4
       
    79      6
       
    80      3
    74      3
    81      6
    75      6
    82      9
    76      9
    83 
    77 
    84 #. What is the output of the following code block?
    78 #. What is the output of the following code block?
    92    Answer: Nothing is printed
    86    Answer: Nothing is printed
    93 
    87 
    94 Larger Questions
    88 Larger Questions
    95 ----------------
    89 ----------------
    96 
    90 
    97 .. A minimum of 2 questions here. 
    91 1. A number is called Armstrong number if the sum of cubes of its digits is
       
    92    equal to the number itself. Find all the three digit Armstrong numbers.
    98 
    93