SHARE
TWEET

Untitled

a guest Apr 21st, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class India():
  2.     def capital(self):
  3.         print("New Delhi is the capital of India.")
  4.  
  5.     def language(self):
  6.         print("Hindi the primary language of India.")
  7.  
  8.     def type(self):
  9.         print("India is a developing country.")
  10.  
  11. class USA():
  12.     def capital(self):
  13.         print("Washington, D.C. is the capital of USA.")
  14.  
  15.     def language(self):
  16.         print("English is the primary language of USA.")
  17.  
  18.     def type(self):
  19.         print("USA is a developed country.")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top