46638/how-can-write-program-add-two-numbers-using-functions-python
def add(a,b): return a + b #when i call this function with arguments it will print the addition of the two numbers print(add(10,15))
Hope this will help!
If you need to know more about Python, join Python certification course online today.
Thanks!
x="malayalam" y="" for i in x: ...READ MORE
Here's the logic. You have to add ...READ MORE
Here's the code: check = input("Enter the character: ...READ MORE
Yes, it is possible to add new ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
You can simply the built-in function in ...READ MORE
lets say we have a list mylist = ...READ MORE
You can use the exponentiation operator or ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.