1144.logical sequence in python
This is the solution fo this problem in python: N=int(input()) for i in range(1,N+1): print("%i %i %i"%(i,i*i,i*i*i)) p...
This is the solution fo this problem in python: N=int(input()) for i in range(1,N+1): print("%i %i %i"%(i,i*i,i*i*i)) p...
This is the solution of this problem in python: N=int(input()) for i in range(1,N+1): print("%i %i %i"%(i,i*i,i*i*i))
This is the solution of this problem in python: N=int(input()) j=1 for i in range(1,N+1): for k in range(j,j+3): print(k,end=...
This is the solution of this problem in python: Alcohol=0 Gasoline=0 Diesel=0 while(1): x=int(input()) if(x==4): break ...
This is the solution of this problem in python: x=int(input()) y=int(input()) if(x>y): x,y=y,x for i in range(x+1,y): ...
This is the solution of this problem in python: X=int(input()) Y=int(input()) summ=0 if(X>Y): X,Y=Y,X for i in range(X,Y+1): ...
This is the solution of this problem in python: X=int(input()) Y=int(input()) mult=1 for i in range(X,Y+1): if(i%13!=0): mult...