From 81d0645603674324f719e097326a2190f9798288 Mon Sep 17 00:00:00 2001 From: Victor Alexandrovich Tsyrenschikov <77172321+tsyrenschikov@users.noreply.github.com> Date: Sun, 8 Mar 2026 11:47:35 +0500 Subject: [PATCH] ESPHOME --- f.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/f.py b/f.py index e597fd4..11ffaa7 100644 --- a/f.py +++ b/f.py @@ -1,3 +1,3 @@ -a=['apple','banana','cherry'] -for index,value in enumerate(a): - print(f'{index}: {value}') \ No newline at end of file +a='Привет, Константин' +index=a.find(' ') +print(a[index+1:]) \ No newline at end of file