write an algorithm to print first ten whole numbers
Answers
#initialise a variable "num", "numbers" with the starting number and number of numbers you want to print respectively.
#initialise a variable "num", "numbers" with the starting number and number of numbers you want to print respectively.#In Python you need not declare the variables to a specific data type.
#initialise a variable "num", "numbers" with the starting number and number of numbers you want to print respectively.#In Python you need not declare the variables to a specific data type.num = 1;
#initialise a variable "num", "numbers" with the starting number and number of numbers you want to print respectively.#In Python you need not declare the variables to a specific data type.num = 1;numbers = 10;
#initialise a variable "num", "numbers" with the starting number and number of numbers you want to print respectively.#In Python you need not declare the variables to a specific data type.num = 1;numbers = 10;#while loop as per python's syntax.
#initialise a variable "num", "numbers" with the starting number and number of numbers you want to print respectively.#In Python you need not declare the variables to a specific data type.num = 1;numbers = 10;#while loop as per python's syntax.while (num<=10):
#initialise a variable "num", "numbers" with the starting number and number of numbers you want to print respectively.#In Python you need not declare the variables to a specific data type.num = 1;numbers = 10;#while loop as per python's syntax.while (num<=10):print num;
#initialise a variable "num", "numbers" with the starting number and number of numbers you want to print respectively.#In Python you need not declare the variables to a specific data type.num = 1;numbers = 10;#while loop as per python's syntax.while (num<=10):print num;num = num + 1;