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 AnswersTic-Tac-Toe Java Two Players
0 Votes
1 Answeris 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 Answerscodeing and computing.
0 Votes
3 AnswersSuggestion
0 Votes
1 AnswerPython word search game help
0 Votes
1 AnswerWhat's Wrong With My Code??
0 Votes
2 Answershow to output phrases?
1 Vote
2 AnswersWhy does this not work?
2 Votes
2 AnswersPlease explain.
0 Votes
2 AnswersHot today
Fast coding (mobile)
1 Votes
..
1 Votes
Beginner_to_SoloLearn
2 Votes
DSA doubt
1 Votes
Coding help
2 Votes
Bridge pattern use case
0 Votes
Data structure using C
0 Votes
Input errors (python)
1 Votes