0
Problem of python
Suppose I want to just print first letter of the first word of the list what should I have to do x = ["Standard","Ratio","Clock"] print(x) print(x[0]) here I want to just take S as an output
3 Answers
+ 1
print(x[0])
It means give me (output) the first text.
print(x[0][0])
It means give me (output) the letter one of the first text.
0
Time To Code Sarmad Saad Thanks guys I actually forgot it
0
Sayyam Jain
You're welcome đ.