H
H
HawD12021-01-04 11:45:49
Python
HawD1, 2021-01-04 11:45:49

How to sort json by key?

What are the ways to sort data in json using python by keys? It is necessary that the lines contain the numbers 21-47, excluding the numbers 28,29,30 from this list.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2021-01-04
@HawD1

This is filtering, not sorting. Create a new dictionary where you exclude 28,29,30. The task is elementary, solve it yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question