13 odpowiedzi
+ 1
https://www.jython.org/
Jayhan Edwards irrelevant
+ 2
Okay, what's the input and expected output?
+ 2
Jython
+ 1
Do you use this
+ 1
Can you help with this am stuck
n = int(input())
for x in range(1, n):
if x % 3 == 0 and x % 5 == 0:
print("SoloLearn")
elif x % 3 == 0:
print("Solo")
elif x % 5 == 0:
print("Learn")
else:
print()
+ 1
It won't print SoloLearn
+ 1
The input is 15
+ 1
ranges are inclusive you don't even get to 15
for x in range(1, n+1):
+ 1
Jython application development is possible
Java classes and interfaces in python code
Or
Python classes and abcs in java code
Both of them comes under jython
Java + Python = Jython
0
It's supposed to print SoloLearn if it finds multiple of 3 and 5
0
Thanks 👍
0
Ok thanks