Computer Science, asked by dileepna1967, 3 months ago

write an algorithm to print first ten whole numbers​

Answers

Answered by Nancy984
0

#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;

Similar questions