This file contains 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
def is_palindrome(word) | |
lower = word.downcase | |
if lower == lower.reverse | |
p 'Word is Palindrome' | |
else | |
p 'Word is not Palindrome' | |
end | |
end | |
is_palindrome('Deleveled') |
This file contains 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
from selenium.webdriver.support.wait import WebDriverWait | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support import expected_conditions as ec | |
from selenium.common.exceptions import NoSuchElementException | |
class Apiyum(object): | |
__TIMEOUT = 10 | |
def __init__(self, driver): |