+ 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
9 Antworten
+ 11
# 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..
+ 1
Fill in the blanks to assign the value 15 to variable years and output the number of months (years multiplied by 12).
0
How to tag
0
Fill in the blanks to assign the value 15 to variable years and output the number of months (years multiplied by 12).
0
15*12
0
15