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
In Chennai which college is best for automobile engineering | |
---|---|
Is aeronautical engineering at SRM Chennai worth it? | |
I want to study aerospace engineering in Chennai. | |
Can I get st joseph's engineering college Chennai with the rank of 27 k and 16k in bc category. | |
Do College of Engineering, Guindy Campus, Chennai provide B.Tech studies in ECE or EEE branch? |
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
""" | |
bounce the ball at the edges | |
""" | |
import pgzrun | |
from random import randint | |
WIDTH = 800 | |
HEIGHT = 600 | |
BLACK = (0, 0, 0) |
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
import pgzrun | |
from random import randint | |
WIDTH = 800 | |
HEIGHT = 600 | |
BLACK = (0, 0, 0) | |
paddle = {"x": 20, "y": HEIGHT-50, "length": 200, "width":25} | |
ball = {"x": 0, "y": 0, "move_x": 5, "move_y": 5} | |
BALL_RADIUS = 25 |
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
import csv | |
import time | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
TOTAL_PAGES = 100 | |
CHROME_DRIVER_PATH = '/Users/shinysuresh/Documents/chromedriver-5' | |
url = 'https://www.quora.com/search?q=engineering+colleges+hostel+Chennai' | |
OUTPUT_FILE = '/Users/shinysuresh/Projects/StudentQuestions/quora_questions.csv' |
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
''' | |
draw a line using turtle | |
''' | |
import turtle | |
t = turtle.Turtle() | |
t.forward(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
''' | |
draw a line using turtle | |
''' | |
import turtle | |
t = turtle.Turtle() | |
t.forward(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
''' | |
fill the polygon with colors | |
''' | |
import turtle | |
t = turtle.Turtle() | |
def draw_shape(t, sides, length): | |
angle = 360 / sides | |
for i in range(sides): |
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
''' | |
a program to draw a circle and a square | |
''' | |
import turtle | |
t = turtle.Turtle() | |
def draw_circle(radius): | |
t.circle(radius) |
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
''' | |
a program to draw a circle and a square | |
''' | |
import turtle | |
t = turtle.Turtle() | |
def draw_circle(radius): | |
t.circle(radius) |
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
''' | |
print a string | |
''' | |
print("hello!") |
OlderNewer