The pdf provided for “python built-in constants” has a mistake.
While slicing the string “python is the future!”, when
print(string[3:7]) is executed, the output should be hon i but the given output is thon.
The pdf provided for “python built-in constants” has a mistake.
While slicing the string “python is the future!”, when
print(string[3:7]) is executed, the output should be hon i but the given output is thon.