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
secret = int("8") | |
guess = int(raw_input("Enter the value for guess: ")) | |
print guess | |
if guess == secret: | |
print "CONGRATULATIONS. YOU'VE WON !!!" | |
else: | |
print "Please try again." |
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
x = 1 | |
answer = int(raw_input("select a number between 1 and 100: ")) | |
for x in range (1, answer + 1): | |
if x % 15 == 0: | |
print "fizzbuzz" | |
elif x % 5 == 0: | |
print "buzz" | |
elif x % 3 == 0: | |
print "fizz" | |
else: |
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
quote = "Today is a beautiFul dAy" | |
print quote.lower() |