Courses
Log in
Start Learning AI
Courses
Log in
Start Learning AI
Q&A Discussions
Search
Search
Ask a question
Ask a question
String s1 = new String ("Hi"); String s2 = new String("Hi"); Why s1 == s2 returns false ??
java
0 Votes
6 Answers
14th Sep 2017, 9:34 AM
Divya Vishwakarma
What is the difference between 1. String s1 = new String ("abc"); 2. String s1 = "abc"; ?
constructors
string
1 Vote
1 Answer
15th Mar 2019, 5:28 PM
Soma Venkata Sai Krishna
String s1 == string s2 produce the output as false while we assuming the same string in both s1 and s2..
c++
java
2 Votes
3 Answers
23rd Sep 2018, 8:13 AM
M.MANIVANNAN
s1 =[3,4] s2 =[1,2] s3=list() i=0 j=0 for i in s1: for j in s2: s3.append((i,j))
for
loops
nested
-4 Votes
35 Answers
31st May 2020, 7:10 PM
SAADAT ALI
s = input() def hashtagGen(text): s1 = s.replace(" " , "") return "#"+s1 print(hashtagGen(s))
python
1 Vote
8 Answers
22nd Jun 2022, 2:12 PM
Raj Jaiswal185
I have this program and it’s telling me theres a problem with the last s1
s1
sintax
1 Vote
8 Answers
1st Mar 2018, 3:22 PM
Camila Lancheros
s="hello" s1="elloh" if s1 in s+s: print("True") else: print("Fasle") How to implement this in Linked List ?
linkedlist
lists
python
python3
1 Vote
1 Answer
11th Feb 2022, 11:11 AM
Manoj Bhaagam
struct student { int age; int grade; char name[40]; }; int main() { struct student s1 ={ .age = 18,.grade = 7
c
0 Votes
3 Answers
27th Sep 2021, 6:26 AM
Gulafsha Syed
Не совсем понимаю что здесь написано reversed = names.sort( { s1, s2 in return s1 > s2 } )
closures
swift
1 Vote
1 Answer
4th Oct 2017, 8:39 PM
Yevhen Morkovin
intersect(s1, s2) where s1 and s2 are lists representing sets, computes and return a list representing the intersection of the t
lists
python
0 Votes
2 Answers
19th Sep 2016, 2:37 PM
Vinh Le
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
2 Votes
Give some simple practice questions in C
0 Votes
??
1 Votes
Ошибка в приложении Sololearn
1 Votes
NEO V2.0
1 Votes
How many time I can use sololearn trial mode?
1 Votes
Hello guys,
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Help me
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes