a = "92991"
b = tuple(int(s) for s in a if s.isdigit())
if sum(b) >= 18:
print("Есть")
else:
print("Нет")
for i in range(len(b)-1):
if b[i]+b[i+1]==18:
print("for Non Sense")
ССообщество Python Программистов@python_scripts · Gruppe · Technik
Ein offener öffentlicher Feed aus dem Suchindex
ChatCrawler — „Google für das öffentliche Telegram“; wird aktualisiert, während die Community gecrawlt wird.
Zeiten in UTC.