CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Threaded View

  1. #1
    Join Date
    Sep 2011
    Posts
    3

    Please solve this program

    I want python to read my input.txt and generate output.txt in same folder

    input.txt
    0 m
    100 f
    180 f
    280 d
    and output.txt

    0 99 m
    100 179 f
    180 279 f
    280 blank d
    I tried this a lot but didnt get that pattern ... Please please please , somebody solve this for me

    You may notice that "second column" has "next number-1" of column first.

    thanks in advance.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured