# for i in [10]:
# print ("now the value of i is {}".format(i))
# i = 0
# while i <10:
# print ("now the value of i is {}".format(i))
# i = i+1
#
# #good example for while loop is below
# exitoptions = ["east","northeast"]
# youroption = ""
# while youroption not in exitoptions:
# youroption = input("please enter your exit direction \n")
# if youroption =="quit":
# print("game over")
# break
# else:
# print("aren't you glad that you are out from there")
# Guess number game using if
# import random
# highest = 10
# random = random.randint(1,highest)
# # print(random)
# answer = 1
# answer = int(input ("Guess any number between 1 and {} \n".format(highest)))
# if (answer==random):
# print("you guessed it corectly \n")
# elif (answer>random):
# answer = int(input("guess lesser no \n"))
# if (answer==random):
# print("you guessed it corectly \n")
# elif (answer<random):
# answer = int(input("guess higher no \n"))
# if (answer==random):
# print("you guessed it corectly \n")
# Guess number game using whileloop
import random
# highest = 10
# random = random.randint(1,highest)
# print(random)
# guessallowed = 5
# guesstime = 1
# guessedno = int(input("guess a no between 1 and {}\n".format(highest)))
# while guesstime <guessallowed and random!=guessedno:
# guessedno = int(input("guess one more time\n"))
# guesstime = guesstime + 1
# if (random == guessedno):
# print("you guessed it at {}- guess".format(guesstime))
# else:
# print("sorry")
Sunday, 4 February 2018
Started Python and Continued - Day1
Saturday, 3 February 2018
Power Of Consistency
IF YOU WANT TO BE TAKEN SERIOUSLY BE CONSISTENT
Monday, 3 July 2017
Quotes That I Love
Doing the same thing again and again,but expecting different results every time -Height of insanity
Every Day above the Earth is the Good Day.
Thursday, 21 April 2016
Wednesday, 20 April 2016
Sunday, 16 November 2014
Reason for Gap in Identiy Columns
There are many reasons for the gaps in identity columns,it may be due to the deletion of record,hard reset of identity column or due to the roll back of the transaction or else due to shutdown of the sql server. Below links explain them in detail.
Subscribe to:
Posts (Atom)

