Q&A Discussions
why is it not running?
import java.util.Scanner;
public class Myclass{
public static void main(String [] args){
Scanner in = new Scanner(System.in);
String a;
int b;
System.out.println("enter a word");
a = in.nextLine();
System.out.println("enter repetition")
b = in.nextInt();
for ( int = 0; x < b; x = x++)
System.out.println(a);
}
}
0 Votes
8 AnswersПомогите с практикой
-2 Votes
2 Answersis there anything wrong in this please answer
import string
from random import *
letters = string.ascii_letters
digits = string.digits
chars = letters + digits
min_length = 9
max_length = 15
password = "".join(choice(chars) for x in range(randint(min_length, max_length)))
print(password)
1 Vote
4 AnswersHot today
Is there a problem on sololearn?
1 Votes
Can someone help me with this
2 Votes
Why always user input 🥹 //import
1 Votes
xmlhttpreques
0 Votes
Pointers Confusion
2 Votes
I am beginner
1 Votes
Coding Foundations
0 Votes