![見出し画像](https://assets.st-note.com/production/uploads/images/151964899/rectangle_large_type_2_bef79c1bc6faab9e2aac5d3d3527b41b.png?width=1200)
8/25 I/O日記
Algorithm
How to fetch integer division and modulus?
You can use a loop, but you can also fetch the integer and modulus using division and modulus operations as shown below:
def culByDigit(n):
total = 0
while n > 0:
n, digit = n // 10, n % 10
total += digit
return total
S3
Presigned URL: A URL provided to users for temporary authentication. It expires within a set time limit.
S3 Transfer Acceleration: When transferring data to S3 from a distant location, using this feature allows you to send the data to an edge location first. The edge location then uses a private network to transfer the data to S3, which speeds up the transfer process.