We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Tutorials
- 30 Days of Code
- Day 5: Loops
- Discussions
Day 5: Loops
Day 5: Loops
Sort by
recency
|
1214 Discussions
|
Please Login in order to post a comment
Using java it can be completed in very small lines
for(int i =1;i<=10;i++) { System.out.println(n+" x "+i+" = "+n*i); }
Python 3.x: for i in range(1, 11): print(f"{n} x {i} = {n*i}")
Python 3.x: for i in range(1, 11): print(f"{n} x {i} = {n*i}")
Day 5 -Loops
for(let i = 1; i<=10; i++){