+ 1
Fill in the blanks to output the first 3 characters of the input string.
Fill in the blanks to output the first 3 characters of the input string.
9 ответов
+ 5
x = input()
print(x[0 : 3])
+ 1
You should search for slicing tutorials or probably loop over the string to output first 3 characters.
0
You do it with loops or slicing..
0
0 , 3
0
0 , 3
0
1. 0
2. 3
0
can u help with the correct answer?
0
0:3