Advertisement
chiasan

Need help. rip

Nov 29th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.79 KB | None | 0 0
  1. dash = '-'*40
  2. #Program gets the personal information of the person
  3. def getPersonalInfo(First, Last, Age, Height, First1, Last1, Age1, Height1, First2, Last2, Age2, Height2):
  4.     print('First Name: ',First)
  5.     print('Last Name: ',Last)
  6.     print('Age: ',Age)
  7.     print('Height: ',Height)  
  8.  
  9.     print(dash)
  10.    
  11.     print('First Name: ',First1)
  12.     print('Last Name: ',Last1)
  13.     print('Age: ',Age1)
  14.     print('Height: ',Height1)
  15.  
  16.     print(dash)
  17.  
  18.     print('First Name: ',First2)
  19.     print('Last Name: ',Last2)
  20.     print('Age: ',Age2)
  21.     print('Height: ',Height2)
  22.  
  23.     print(dash)
  24.  
  25. def getAddressInfo(Street, City, State, Zip, Street1, City1, State1, Zip1, Street2, City2, State2, Zip2):
  26.  
  27.     print('Street Address: ',Street)
  28.     print('City: ',City)
  29.     print('State: ',State)
  30.     print('Zip Code: ',Zip)
  31.  
  32.     print(dash)
  33.    
  34.     print('Street Address: ',Street1)
  35.     print('City: ',City1)
  36.     print('State: ',State1)
  37.     print('Zip Code: ',Zip1)
  38.  
  39.     print(dash)
  40.    
  41.     print('Street Address: ',Street2)
  42.     print('City: ',City2)
  43.     print('State: ',State2)
  44.     print('Zip Code: ',Zip2)
  45.  
  46.     print(dash)
  47.  
  48. def main():
  49.     First = input("Enter First Name of first person: ")
  50.     Last = input("Enter Last Name of first person: ")
  51.     Age = input("Enter Age of first person: ")
  52.     Height = input("Enter height of first person: ")
  53.  
  54.     print(dash)
  55.  
  56.     First1 = input("Enter First Name of second person: ")
  57.     Last1 = input("Enter Last Name of second person: ")
  58.     Age1 = input("Enter Age of second person: ")
  59.     Height1 = input("Enter height of second person: ")
  60.  
  61.     print(dash)
  62.  
  63.  
  64.     First2 = input("Enter First Name of third person: ")
  65.     Last2 = input("Enter Last Name of third person: ")
  66.     Age2 = input("Enter Age of third person: ")
  67.     Height2 = input("Enter height of third person: ")    
  68.  
  69.     print(dash)
  70.  
  71.     Street = input("Enter Street Address of first person :")
  72.     City = input("Enter City of first person : ")
  73.     State = input("Enter State of first person : ")
  74.     Zip = input("Enter Zip of first person : ")
  75.    
  76.     print(dash)
  77.  
  78.     Street1 = input("Enter Street Address of first person :")
  79.     City1 = input("Enter City of first person : ")
  80.     State1 = input("Enter State of first person : ")
  81.     Zip1 = input("Enter Zip of first person : ")
  82.     print(dash)
  83.  
  84.  
  85.     Street2 = input("Enter Street Address of third person :")
  86.     City2 = input("Enter City of third person : ")
  87.     State2 = input("Enter State of third person : ")
  88.     Zip2 = input("Enter Zip of third person : ")
  89.  
  90.     print(dash)
  91.    
  92.    
  93.     getPersonalInfo(First, Last, Age, Height, First1, Last1, Age1, Height1, First2, Last2, Age2, Height2)
  94.     getAddressInfo(Street, City ,State, Zip, Street1, City1, State1, Zip1, Street2, City2, State2, Zip2)
  95.  
  96.    
  97.  
  98. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement