+ 1

Please can i have answers for these questions thank!

What are == used for, \n. What are strings and what are input/output please help!! :)

20th Jul 2016, 4:11 PM
oscar537
oscar537 - avatar
4 Answers
+ 2
== is a comparison operator used to compare two conditions example 5 == 5 this is to check if 5 is equal to 5 \n is a escape sequence for new line example print("hello \nhow are u?") in the above example "hello" would be printed in the first line and "how are u?" would be printed in the new line as '\n' is used in front of it. input and output are simply just giving a input to computer output is simply the computer calculates and show the answer example x=2 y=8 print(x + y) now everything we gave is input the answer shown in the computer screen is the output I mean '10' is the output hope u got everything u asked...
20th Jul 2016, 4:57 PM
sundar
sundar - avatar
0
Thanks very much i understand it really well now!
20th Jul 2016, 4:59 PM
oscar537
oscar537 - avatar
0
== are used for comparison
20th Jul 2016, 7:18 PM
Usman
Usman - avatar
0
can i get answer of sololern classes and object>modele quiz 4<5 question
14th Mar 2017, 6:06 AM
utsav parmar
utsav parmar - avatar