pc sience questions….

pc sience questions….

  1. What is a string? What are three example of the sort of data that you would store in a string?
  2. What is a variable? How do you store a value in a variable? Can you change what is stored in a variable?
  3. What is the difference between the int, float, and str data types?
  4. What is an escape character and how are they useful?
  5. Write a Python program that calculates the area and circumference of a circle. You should use input to ask the user for the radius of the circle as a real number, use a variable to hold this information, and use print to print out the answers.
  6. Write a python program to convert from cents to dollars and cents. Your program should ask the user for the number of cents and output the resulting number of dollars and cents. For example, if the user inputs 593 as the number of cents, your program should output 5 dollars and 93 cents

 answers from this book Chapter2 

http://www.pearsonhighered.com/educator/product/Starting-Out-with-Python-3E/9780133582734.page

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper