Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

puppy and sum codechef solution

t=int(input())
for i in range(t):
  d,n=map(int,input().split())
  for i in range(d):
    b=n*(n+1)/2
    n=b
   print(int(b))
Comment

PREVIOUS NEXT
Code Example
Python :: browser = webdriver.firefox() error 
Python :: wxpython icon 
Python :: how to return number in binary python 
Python :: pandas dataframe display cell size 
Python :: pip --version 
Python :: timeout socket python 
Python :: cos inverse in python numpy 
Python :: install google cloud python 
Python :: get binary string python 
Python :: log log grid python 
Python :: tkinter canvas text size 
Python :: python pathlib 
Python :: autopytoexe 
Python :: how to stop auto restart flask python 
Python :: Get request using python requests-html module 
Python :: python 2d dictionary 
Python :: matplotlib draw line x1, y1 
Python :: python mongodb schema 
Python :: Use CSS in PHP Echo with Style Attribute 
Python :: pandas dataframe map 
Python :: python convert string to list 
Python :: create app in a django project 
Python :: list_display django foreign key 
Python :: how to go to previous directory in os python 
Python :: TypeError: ‘float’ object is not callable 
Python :: how to download from youtube in discord.py 
Python :: check runtime python 
Python :: how to remove element from nested list in python 
Python :: compare multiple columns in pandas 
Python :: how to make a variable global in python 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =