0
What is output print(str[6]), when string contains Space at 6th index?
str = "I Love Coding" print(str[6])
2 Answers
+ 4
To make sure that user can see if the output is space, you can do:
print(f"'{str[6]}'") #-> output is ' '
0
No Output
Comes after Run the code. I added this knowlege sharing.