Skip to main content
+ per comments
Source Link
DinoCoderSaurus
  • 28.6k
  • 2
  • 12
  • 31

Review the spec.

Prompts the user for a level,n. If the user does not input a positive integer, the program should prompt again.

Randomly generates an integer between 1 and n, inclusive, using the random module.

The program is not specified to guess the level. The program needs to generate a random number between 1 and level using the random module. That will be the number to guess.

Review the spec.

Prompts the user for a level,n. If the user does not input a positive integer, the program should prompt again.

Randomly generates an integer between 1 and n, inclusive, using the random module.

Review the spec.

Prompts the user for a level,n. If the user does not input a positive integer, the program should prompt again.

Randomly generates an integer between 1 and n, inclusive, using the random module.

The program is not specified to guess the level. The program needs to generate a random number between 1 and level using the random module. That will be the number to guess.

Source Link
DinoCoderSaurus
  • 28.6k
  • 2
  • 12
  • 31

Review the spec.

Prompts the user for a level,n. If the user does not input a positive integer, the program should prompt again.

Randomly generates an integer between 1 and n, inclusive, using the random module.