0

What is output print(str[6]), when string contains Space at 6th index?

str = "I Love Coding" print(str[6])

2nd Mar 2020, 7:57 AM
Ankush Tarika
Ankush Tarika - avatar
4 Respuestas
+ 4
To make sure that user can see if the output is space, you can do: print(f"'{str[6]}'") #-> output is ' '
2nd Mar 2020, 10:38 AM
Lothar
Lothar - avatar
0
No Output Comes after Run the code. I added this knowlege sharing.
2nd Mar 2020, 8:08 AM
Ankush Tarika
Ankush Tarika - avatar