Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.51 KB | None | 0 0
  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.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement