+ 2
FILL in the blanks to assign the value 15 to variable years and output the number of months(years multiplied by 12)
Help me to solve
6 Answers
+ 8
# Assign the value 15 to the variable years
years = 15
# Calculate the number of months by multiplying years by 12
months = years * 12
# Output the number of months
print(f'There are {months} months in {years} years.')
+ 4
Prabesh Adhikari
year=15 >>>>here 15 is assigned to year...
print (year*12)>>>>this will print the output
Go through python courses ...
In place of op you mentioned change it to what language you want.. that's all...
+ 2
Prabesh Adhikari
Please mention which language in relevant tag..
0
How to tag
0
Python
0
Fill in the blanks to assign the value 15 to variable years and output the number of months (years multiplied by 12).
Hot today
Paint Costs
2 Votes
How to create a border
0 Votes
Overloading + operator
0 Votes
( NEED HELP ) Halloween candy
0 Votes