User Tools

Site Tools


software_carpentry

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
software_carpentry [2013/06/02 10:28]
sandeep
software_carpentry [2013/06/07 08:37]
animesh
Line 1: Line 1:
-=====Basic=====+====Basic====
 =====Editors==== =====Editors====
   - Create a file using cat with all the names of your friends.   - Create a file using cat with all the names of your friends.
Line 41: Line 41:
         - Any number above 7 (7-12)         - Any number above 7 (7-12)
      After the user chooses, you have to roll your dice and see the outcome      After the user chooses, you have to roll your dice and see the outcome
-     - If the number on the dice is < 7 and user chooses ​i, then he wins. Else, he loses +     - If the number on the dice is < 7 and user chooses ​1, then he wins. Else, he loses 
-     ​- ​ If the number on the dice is = 7 and the user chooses ​ii, he wins, Else he loses +     ​- ​ If the number on the dice is = 7 and the user chooses ​2, he wins, Else he loses 
-     ​- ​ If the number on the dice is > 7 and the user chooses ​iii, he wins, Else he loses+     ​- ​ If the number on the dice is > 7 and the user chooses ​3, he wins, Else he loses
  
 Task : Write a python program to stimulate the lucky 7 program .. Task : Write a python program to stimulate the lucky 7 program ..
software_carpentry.txt · Last modified: 2018/03/24 11:13 (external edit)