مشروعي الثاني حساب عدد الساعات و الدقائق و الثواني

total_seconds = input(“Please enter the number of seconds \n”)
int_total_seconds = int(total_seconds)
minutes = int_total_seconds // 60
hours = int_total_seconds // 3600
seconds = int_total_seconds %60
print(“this cours is : " + str(hours) + " hours " + str(minutes) + " minutes " + str(seconds) + " seconds”)

3 إعجابات

رائع جداً استمري في المواصلة

3 إعجابات