Нужна помощь | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Нужна помощь

дано 2 слова, проверить можно ли составить другое слово из букв первого слова

14th Jan 2020, 7:08 PM
Jey Dex
Jey Dex - avatar
1 Antwort
+ 1
На каком языке код? Для python: from collections import Counter a = raw_input('input A') b = raw_input('input B') if Counter(b) - Counter(a): print('no') else: print('yes')
14th Jan 2020, 7:25 PM
Roman Ignatev
Roman Ignatev - avatar