Home > other >  python
python

Time:04-02

N=eval (input (" please enter the weight (kg) : "))
For I in range (10) :
N1=n + 0.5
N2=n1 * 0.165
Print (" {} {}, the earth the moon ". The format (n1, and n2))

Excuse me, why is this only one cycle?

CodePudding user response:

Notice the statement level
 

N=eval (input (" please enter the weight (kg) : "))
For I in range (10) :
N1=n + 0.5
N2=n1 * 0.165
Print (" {} {}, the earth the moon ". The format (n1, and n2))

CodePudding user response:

Or not? , just print a few more times

CodePudding user response:

reference 1/f, old coconut response:
note statement level
 

N=eval (input (" please enter the weight (kg) : "))
For I in range (10) :
N1=n + 0.5
N2=n1 * 0.165
Print (" {} {}, the earth the moon ". The format (n1, and n2))


I copied,