pc questions book ......

Computer Science
Price: $5 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 


Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1826 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