Udaan Song DownloadMalaika Aafrin – Udaan. Malaika Aafrin – Mere Aan Tera Dil Mein. Malaika Aafrin – Udaan. Malaika Aafrin – Mere Aan Tera Dil Mein. Rg-ZKXU7Q.
30 Mar 2017 You can download and listen to songs from popular movies and music albums. Movies from 1940s to 1980s are supported and streamline, along with a download link.
Bhagat Singh - 03:24 Bajrangi Bhaijaan - 03:45 00:08 You Can't Stop The Beat - 03:10 ॐ आप इस जीवन का न करने के लिए न कोई होने के लिए Download music mp3, mp4, music song, movie music,Q:
How to check if a code entered is correct?
I'm in the process of teaching myself to code and I am stuck. My question is simple, I just don't know where to begin.
From the problem I am working on:
"What should I do if the sum of the numbers below is equal to 20?"
I need to write a program that takes in a number, say 3. The program then is supposed to take the number 3 and multiply it by 5 (giving 15), then add 7 (giving 22). If the sum of these two numbers is equal to 20, the program should display a message stating so. I've written a program and it works, but I don't know how to make it so that it displays the message if the sum is equal to 20.
If someone could point me in the right direction, I would be very grateful. :)
I'm programming in python. I have tried several methods and I have had no luck.
A:
To use a variable as a number you need to divide by it's value.
So:
sum = 5 * int(input()) + 7
if sum == 20:
print "the sum is equal to 20"
else:
print "the sum is not equal to 20"
That is assuming you don't be359ba680
Related links:
Comments