computer sience.....

Sep 12th, 2015
SoccerBoss
Category:
Computer Science
Price: $10 USD

Question description

  1. What is an if statement useful for? 1 point
  2. Write an if statement to check to see if the variable age is greater than 18. 1 point
  3. What is the difference between the < and <= relational operators? 1 point
  4. What is the meaning when you use the > operator to compare strings? 1 point
  5. How is an elif statement useful? Give an example aside from computing grades where this statement can be useful. 1 points
  6. What is the bool datatype and what does it represent? 1 point
7- Write a python  program that asks the user for an integer, and displays whether that integer is even or odd. You will want to use the % operator to test for even or odd. 2 points

8- Write a program that takes inputs three strings from the user, and displays which string is first alphabetically. You will need to use if statements and the and operator. 2 points

answers from this book Chapter3

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


Tutor Answer

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

Studypool has helped 1,244,100 students

8 Reviews


Summary
Quality
Communication
On Time
Value
tinytim47
Nov 30th, 2016
" Wow this is really good.... didn't expect it. Sweet!!!! "
Five Star Tutor
Nov 20th, 2016
" Outstanding Job!!!! "
mixedballz
Nov 16th, 2016
" excellent work as always thanks for the help "
lilmoe415
Nov 7th, 2016
" Thank you, Thank you, for top quality work, this is your guy!! "
darnay
Oct 25th, 2016
" The best tutor out there!!!! "
dontuwannaknow
Oct 16th, 2016
" Excellent work as always thanks so much "
SjSurvivor143
Oct 2nd, 2016
" Thanks for the help. "
Joemoe
Sep 19th, 2016
" <3 it, thanks for saving me time. "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1825 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