Run Program ❯
Python Home
❯
Run Code
Change Orientation
# List of cities cities = ["Dhaka", "Chittagong", "Khulna", "Rajshahi", "Sylhet"] # Use len() to get the number of items total_cities = len(cities) # Display the result print("Total Number of Cities:", total_cities)