Created
          March 15, 2015 20:52 
        
      - 
      
- 
        Save harunurkst/4dedb753925f94d87d7c to your computer and use it in GitHub Desktop. 
    A python program to get first, last value and difference value from user and print start to stop with step 
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #get input from user | |
| start=int(raw_input("Enter stat number:")) | |
| diff =int(raw_input("enter difference:")) | |
| last=int(raw_input("enter last num:")) | |
| #for loop with range function to get value | |
| for i in range(start,last,diff): | |
| print i | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment