Feb '24 (edited) • 💬 General
Variables to calculate number of seconds in 4 year😁😁😁
# Create variables
num_years = 4
days_per_year = 365
hours_per_day = 24
mins_per_hour = 60
secs_per_min = 60
# Calculate number of seconds in four years
total_secs = secs_per_min * mins_per_hour * hours_per_day * days_per_year * num_years
print(total_secs)
126144000
I'm learning to code🥷🥷🥷
6
0 comments
Jessy Girard
5
Variables to calculate number of seconds in 4 year😁😁😁
Data Alchemy
skool.com/data-alchemy
Your Community to Master the Fundamentals of Working with Data and AI — by Datalumina®
Leaderboard (30-day)
Powered by