# computer sience.....

Sep 17th, 2015
HelloWorld
Category:
Computer Science
Price: \$5 USD

Question description

for number in range (1,51) :

if number%3 == 0 and number%5 == 0:

print ("FizzBuzz")

elif number%3 == 0:

print ("Fizz")

elif number%5 == 0:

print ("Buzz")

else:

print (number)

fix and complete the desciption

Description    fix this

First of all, we can write “for number in range (1,51)” to make python count from 1 to 51 , but because we want the word “FizzBuzz” came with number that can be divide by 3 and 5 We should write ‘if number%3 == 0 and number%5 == 0:’

## Tutor Answer

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

Studypool has helped 1,244,100 students

## Review from our student for this Answer

SoccerBoss
Sep 17th, 2015
"Excellent!"
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1830 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