This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import defaultdict | |
import math | |
ll = lambda : list(map(int,input().split())) | |
ls = lambda : list(map(str,input().split())) | |
for _ in range(int(input())): | |
n = int(input()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Snake case for variable and function name. eg get_customer_name() | |
constants are uppercase. eg PI | |
class names are upperCamelCase. eg MyClass | |
module names are all lowercase. eg mymodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="nature.jpg" alt="Nature" class="responsive"> | |
.responsive { | |
max-width: 100%; | |
height: auto; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background:#000; | |
filter: invert(1) hue-rotate(360deg); | |
} | |
p{ | |
color:pink; | |
} | |
//Invert 0 and background #FFF for again normal mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.img{ | |
height:100%; | |
width:100%; | |
object.fit:contain; | |
} |