pc sience questions....

Sep 6th, 2015
DreamIt
Category:
Computer Science
Price: $10 USD

Question description

  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


Tutor Answer

(Top Tutor) Daniel C.
(997)
School: Duke University
PREMIUM TUTOR

Studypool has helped 1,244,100 students

5 Reviews


Summary
Quality
Communication
On Time
Value
ashleyisgod
Nov 25th, 2016
" Top quality work from this guy! I'll be back! "
Molly_Moon
Nov 2nd, 2016
" AMAZING as always! "
Hemapathy
Oct 11th, 2016
" all I can say is wow very fast work, great work thanks "
BlueOcean
Sep 27th, 2016
" Awesome! Exactly what I wanted. "
kevin12622
Sep 18th, 2016
" Goes above and beyond expectations ! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1823 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors