Skip to content

Commit

Permalink
ex01 exercise done - AssertionError fix V2
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSullivan7 committed Oct 24, 2023
1 parent 76bc773 commit f8edac6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises-python/mike_sullivan/ex01_basics/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ def getfilename():
parser.add_argument('filename', nargs='+')
parser.add_argument('-l', '--lines', type=int) # give option to show top number of lines
args = parser.parse_args()
print(args)
print(f"Entered file is: {args.filename}")
#print(args)
#print(f"Entered file is: {args.filename}")
#check_file = os.path.exists(args.filename)
print(args.filename[0], args.lines)
#print(args.filename[0], args.lines)
return args.filename[0], args.lines

def readfile(filename):
Expand Down

0 comments on commit f8edac6

Please sign in to comment.