Skip to content

Instantly share code, notes, and snippets.

@Praneeth313
Praneeth313 / Loops.txt
Created May 13, 2021 10:54
Pirple - Python is Easy : Assignment #5: Basic Loops
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
@Praneeth313
Praneeth313 / tictactoe.txt
Created May 13, 2021 10:41
Pirple - Python is Easy Assignment 6
"""
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):
"""