This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write a program that prints the numbers from 1 to 100. | |
But for multiples of three print "Fizz" instead of the number and for the multiples of five | |
print "Buzz". | |
For numbers which are multiples of both three and five print "FizzBuzz". | |
""" | |
''' | |
Created a list using range function with elemnts as numbers from 1 to 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Create a function that takes in two parameters: rows, and columns, both of which are integers. | |
The function should then proceed to draw a playing board (as in the examples from the lectures) | |
the same number of rows and columns as specified. After drawing the board, your function should return True. | |
""" | |
""" | |
Define a function which takes two parameters rows & cols | |
""" | |
def tictactoe(rows,cols): | |
""" |