Предмет: Информатика,
автор: arajlymserik98
for s in 'python': if s== 'h': break print(s, end = "')
Ответы
Автор ответа:
0
This code will result in a syntax error.
The correct code should be:
for s in 'python':
if s == 'h':
break
print(s, end="'")
This code will iterate through the characters of the string 'python', and if the current character is 'h', the loop will break and the program will stop iterating. If the current character is not 'h', the program will print the current character followed by a single
mrneshetov:
..
Похожие вопросы
Предмет: Алгебра,
автор: rubkub31
Предмет: Українська мова,
автор: myzlosania
Предмет: Английский язык,
автор: kyrka228kra
Предмет: Математика,
автор: Аноним