Answer the question
In order to leave comments, you need to log in
Why doesn't import work?
Hello, I decided to divide the program into modules and met with a problem. There are two files main.js and slider.js, the second one should be exported to the first one. Both are in the same folder.
main.js slider.jsimport { Slider } from 'slider';
export class Slider {
}
Answer the question
In order to leave comments, you need to log in
sorted(j[0][u'trati'])
since you need to sort by numerical values, the expression can be written as follows:sorted([float(x[1:]) for x in j[0][u'trati']])
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question