

BÙI HUYỀN TRANG
Giới thiệu về bản thân



































n = int(input('nhập số cuối:'))
s = 1
for i in range(1,n+1):
s*=i
print('tích là :', s)
dientt = float(input('nhập kwh điện tiêu thụ :'))
if(dientt>=0 and dientt<=50):
tien = dientt*1678
else:
if(dientt>50 and dientt<=100):
tien = dientt*1734
else:
if(dientt>100):
tien = dientt*2014
print('số tiền điện cần đóng:',tien,'đồng')
n = int(input('năm:'))
a = n/400
if(type(a)==int):
print(n,' là năm nhuận')
else:
print(n, ' là năm không nhuận')
luongcammua = float(input('nhập số cam khách hàng mua :'))
if(luongcammua<5):
tien = luongcammua*20000
else:
tien = luongcammua*18000
print(tien , 'đồng')
hoten = input()
toan = float(input())
van = float(input())
TA = float(input())
diemtb = (toan*2 + van +TA)/4
print(hoten,"tb :",diemtb)
tong = float(input())
hieu = float(input())
b = (tong - hieu)/2
a = (tong + hieu)/2
print(a,b)
chieudai = float(input("nhập"))
chieurong = float(input("nhập"))
p = 2*( chieudai + chieurong )
s = chieudai * chieurong
print(p,s)
R = float(input("nhập")
P =2*3.14*R
s = 3.14*R*R
print(P,s)