There is a txt file, the contents
1:login1:password1 2:login2:password2 3:login3:password3 4:login4:password4 ... There is no sequence, each time different data, but the format is.
The program should read 1 line and display it as follows (for example, if we take 1 line):
1 login1 password1 Next, the program should delete this line, that is, after the program is executed, the contents of the txt file:
2:login2:password2 3:login3:password3 4:login4:password4 ...