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
|
1187 Discussions
|
Please Login in order to post a comment
In Python
n = int(input().strip()) for i in range(1, 11): print(f'{n} x {i} = {n*i}')
Why is the below code giving samplecase compilation error?
I get this erroe message: "Your submission contains non ASCII characters, we dont accept submissions with non ASCII characters for this challenge." any ideas?
include
using namespace std;
int main() { int n; cin >> n;
}
if name == 'main': n = int(input().strip()) for i in range(1,11): print(n,"*",i,"=",n*i)