LoginSignup
7
7

More than 5 years have passed since last update.

pythonクイズ

Posted at

aとbを統合してcのような配列を作成する美しいpythonのコードを書け

a = [{"word":"a","tfidf":0.5},
{"word":"b","tfidf":0.1},
{"word":"c","tfidf":0.2}]

b = [{"word":"d","tfidf":0.3},
{"word":"a","tfidf":0.2},
{"word":"c","tfidf":0.4}]

c = [{"word":"a","tfidf":0.7},
{"word":"b","tfidf":0.1},
{"word":"c","tfidf":0.6},
{"word":"d","tfidf":0.3}]
7
7
6

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7