Skip to content

Instantly share code, notes, and snippets.

View Svastikkka's full-sized avatar
🏛️
Working from Gift City

Manshu Sharma Svastikkka

🏛️
Working from Gift City
View GitHub Profile
p,q=map(int,input().split())
print(p**q)
p=int(input())
q=int(input())
print(p/q)
print("Hello CodeRams")
import math
t=int(input())
res=0
for i in range(t):
p=int(input())
q=int(input())
res=res+abs((p-q)**2)
print(math.sqrt(res))
h=int(input())
m=int(input())
s=int(input())
a=input()
if a=="AM":
print(3600*h+m*60+s)
else:
print(3600*(h+12)+m*60+s)
import math
x1=int(input())
y1=int(input())
x2=int(input())
y2=int(input())
print(math.sqrt((x2-x1)**2+(y2-y1)**2))
n=int(input())
if n%3==0 and n%5==0:
print("FizzBuzz")
elif n%3==0 and n%5!=0:
print("Fizz")
elif n%3!=0 and n%5==0:
print("Buzz")
t=int(input())
for i in range(t):
n=int(input())
res=abs(n-3)
print(180*(res+1))
t=int(input())
c=0
for i in range(t):
n=int(input())
c=c+(n*3)
print(c)
print((int(input()))**2)