mirror of
				https://github.com/pocketpy/pocketpy
				synced 2025-11-04 10:40:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			88 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			88 B
		
	
	
	
		
			Python
		
	
	
	
	
	
def f(n):
 | 
						|
    if n == 0:
 | 
						|
        return 0
 | 
						|
    return n + f(n-1)
 | 
						|
 | 
						|
assert f(900) == 405450 |