title: how to write program for area for circle and square
body: <p>Write a program that asks the user to enter two values: an integer choice and a real number x. If choice is 1, compute and display the area of a circle of radius x. If choice is 2, compute and display the are of a square with sides of length x. If choice is neither 1, nor 2, will display the text Invalid choice.</p>
  
  <p>so im guessing this is broken into 2 parts? all i can think of so far is having a choice(input) function and defining what pi and area and so on are. but i keep getting errors. what am i doing wrong?</p>
  
  <pre><code>choice = input ('Enter Choice:')
  choice_1 = int (choice)
  if (choice_1==1): radius = (int)
  print('Enter x:',radius)
  pi = 3.14159
  area = ( radius ** 2 ) * pi
  print ( 'The Area is=' , area )
  choice_2= (choice)
  if (choice_2==2): side= (int)
  print('enter X:' side*side)
  </code></pre>