Write a program to access Last characters in a string
Topic: Write a program to access Last characters in a string
Solution
word = "Hello World" letter=word[-1] print(f"First Charecter in String:{letter}")
List all Python Programs
Solution
word = "Hello World" letter=word[-1] print(f"First Charecter in String:{letter}")