- 3
hello,,,sir and madam can you help me do this ( code ) 
Sir and Madam can you help me with this problem? Write a program to take two integers as input and output their sum. Sample Input: 11 22 Sample Output: 33
16 Réponses
+ 6
Jasy Fabiano, Kota Charitha, Maanvi Bhagat, Lachin ,
you are showing a really nice code to help someone solving a task. we all appreciate this very much!
(this is my personal statement - but it is not to criticize someone !!)
but there is an issue by giving a ready solution, when the op has not done and shown his attempt first.
as a part of the community i believe that learning by doing is more helpful, than just using a shared solution. we should act more as a mentor.
it is a very successful way when we are giving hints and help, so that the op is able to solve his task by himself. it would be great if you are going to help us to keep sololearn what it is:
▪︎a unique place to learn (we are a "self" learning platform!)
▪︎an absolutely great community that is willing to help other people
▪︎a great resource of people which has an unbelievable knowledge in coding and a long lasting experience
▪︎a place to meet people and to discuss with them all the possible points of view
thanks for your understanding
+ 4
please tag the language you need help in and post your attempted code
+ 2
theyumna
What did you understand till now?
+ 2
theyumna
That is just a simple addition. Just take input and add them.
Here you can learn how to take input:
https://www.sololearn.com/post/1159836/?ref=app
+ 2
thank you very much master, because I have done it thanks to the help of the instructions that the masters gave,,,,, Thank you to all of you

+ 1
If python go.
To lesson 16.1
+ 1
for the Language tag I use python, I have tried various codes but always (syntax) can you help me

+ 1
Def sum1(a, b):
Return a+b
This is the code in python using functions
+ 1
Lothar yes i understand.. i believe he tried his best and asked the community asi do the same… but ill consider your statement too
+ 1
Lothar well said👏👏
+ 1
Lothar well said sir
0
Yes,, sir
0
If you want the code in C,
Basically:
int a=11, b=22, sum;
sum= a+b;
printf("\n Sum = %d",sum);
0
I've used all the codes from the masters but it still doesn't work

- 1
a=int(input())
b=int(input())
c=a+b
print(c)
- 1
If in python,
x = int(input())
y = int(input())
Print(a+b)