input: Write a function to scrape photos and captions from a given website. The function should take a URL as input and print the source of each photo and its corresponding caption if available. If no caption is available, it should print 'No caption'.
  assert scrape_photos_and_captions('https://example.com/webpage')
  """
  Photo:  https://example.com/image1.jpg
  Caption:  Caption for image 1
  
  Photo:  https://example.com/image2.jpg
  No caption
  
  """
output: def scrape_photos_and_captions(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      for img in soup.find_all('img'):
          src = img.get('src')
          caption = img.find_next('figcaption')
          if caption:
              print(f"Photo:  {src}\nCaption:  {caption.text.strip()}\n")
          else:
              print(f"Photo:  {src}\nNo caption\n")