Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
print("Привет, Алина, я Анфиса!")
And if you didn’t mean to add, but to rewrite so that everything would work, and we didn’t guess what you meant, then like this
friends = ['Сергей', 'Соня', 'Дима', 'Алина', 'Егор']
index = 3
print('Привет, ' + friends[index] + ', я Анфиса!')
friends = ['Sergey', 'Sonya', 'Dima', 'Alina', 'Egor']
print(f'Hi, {friends[3]}, I'm Anfisa!')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question