Vũ Mạnh Cường
Giới thiệu về bản thân
I think parents should limit teenagers’ screen time. Nowaday, most of teenagers spend too much time using phones and computers. This is not good for their study and health.
First of all,If young people use smartphone for a long time, they have less time for homework.As a result, they do not have enough time to study and their marks become lower.
Secondly, too much screen time is bad for teenagers’ health. It can cause damge eyesight, make them sleep less or make them fatter because they don't move or do anything
In conclusion, parents should control how long their children use screens. It will help teenagers study better and stay more healthy.
a=float(input())
while a<=0:
print("Số vừa nhập chưa phải số thực dương. Hãy nhập lại.")
a=float(input())
print(f"{a**2:.2f}")
def UCLN(a, b):
while b != 0:
a, b = b, a % b
return a
a = int(input("Nhập số a: "))
b = int(input("Nhập số b: "))
print(f"UCLN({a}, {b}) = {UCLN(a, b)}")
Chương trình có lỗi cú pháp
Mã lỗi là SyntaxError
Lí do gặp lỗi: Câu lệnh if sai cú pháp. Cụ thể, thiếu dấu hai chấm cuối câu
Cách khắc phục: Thêm dấu hai chấm vào cuối dòng lệnh if (dòng 3)