Sep-28-2017, 09:04 PM
oh, would explain what do you want to do at the end. it gets frustrating like this...
it prints None if you print HDsize at the end because that is the last value from iterating...
eventually you want to write the values in a file, or store the values (while in the loop) in a dict to use them later....
it prints None if you print HDsize at the end because that is the last value from iterating...
eventually you want to write the values in a file, or store the values (while in the loop) in a dict to use them later....