Quantcast
Viewing all articles
Browse latest Browse all 3

Answer by wegrata for print dictionary minus two elements

if len(errdict) == 21:    for k, v in errdict.items():        if k == 'packets output' or k == 'bytes':            continue        print(k, v)    print()

Viewing all articles
Browse latest Browse all 3

Trending Articles