0

Need some pytho help

X = "banana" i want print 2nd letter and 4th letter in oder .how is it do ?

24th Oct 2019, 5:06 PM
Chanaka
3 odpowiedzi
+ 5
print(X[1], X[3])
24th Oct 2019, 5:21 PM
Russ
Russ - avatar