Explore the World's Best Ideas
Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.
#!/bin/python3
import math
import os
import random
import re
import sys
if __name__ == '__main__':
    arr = []
    for _ in range(6):
        arr.append(list(map(int, input().rstrip().split())))
    sum = 0
    tarr = []
   Â
    for l in range(0,4):
        for k in range(0,4):
            for i in range(l,l+3):
                for j in range(k,k+3):
                    if i == l+1 and ( j == k or j == k+2):
                        continue
                    else:
                        sum += arr[i][j]
            tarr.append(sum)
            sum = 0
   Â
    print(max(tarr))
1
11 reads
speed(10)
color("#0270d6")
Screen().bgcolor("yellow")
penup()
goto(0, 150)
pendown()
begin_fill()
forward(150)
circle(-50, 90)
forward(300)
circle(-50, 90)
forward(300)
circle(-50, 90)
forward(300)
circle(-50, 90)
forward(150)
end_fill()
color("white")
penup()
goto(140, 80)
pendown()
begin_fill()
right(180)
forward(50)
circle(80, 90)
forward(50)
right(90)
forward(80)
left(90)
forward(40)
left(90)
forward(80)
right(90)
forward(160)
left(90)
forward(55)
left(90)
forward(160)
right(90)
forward(70)
left(80)
forward(45)
left(100)
forward(80)
right(90)
forward(40)
circle(-40, 90)
forward(40)
left(90)
forward(45)
end_fill()
hideturtle()
done()
1
2 reads
IDEAS CURATED BY
CURATOR'S NOTE
I will be collecting artful code on python here, it's in a nascent stage but hope it becomes awesome with time
â
Similar ideas
7 ideas
How I CODE For HOURS With NO Breaks
Harkirat Singh
14 ideas
The Code of the Extraordinary Mind
Vishen Lakhiani
14 ideas
The Code of the Extraordinary Mind
Vishen Lakhiani
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
â
100+ Learning Journeys
â
Access to 200,000+ ideas
â
Access to the mobile app
â
Unlimited idea saving
â
â
Unlimited history
â
â
Unlimited listening to ideas
â
â
Downloading & offline access
â
â
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates