7 questions
I thought it would be easy, but it's hard ㅜㅜㅜWhat should I do to make string name become John21 in the code below?string name = John;int age = 21;
When there is an array of two rows and three columns called gird = np.array ([[1, 2, 3, [4, 5, 6])If you do np.concatenate ([gird, grid], axis=1), Why is the result array([[1, 2, 3, 1, 2, 3],[4, 5, 6,...
Which of the two toString() methods below is the better one?public String toString(){ return {a:+ a + , b: + b + , c: + c +};}public String toString(){ StringBuilder sb = new StringBuilder(100); retu...
void f(String[] first, String[] second) { String[] both = ??? }If you look at the source, there are String parameters first and second, and I want to combine these two.
message = strcat(TEXT , var);message2 = strcat(strcat(TEXT , foo), strcat( TEXT , bar));I'm trying to put a string after a fixed stringIt keeps saying Segmentation Fault.How do I paste a const/litera...
I can't put an integer on the string, so what should I do?TypeError: unsupported operand type(s) for +: 'int' and 'str'for i in range (1,10): string=string+i
© 2024 OneMinuteCode. All rights reserved.