python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why inserting `format` function inside a `dolist` expression does not work in Common Lisp?
I am using SBCL, Eamcs, and Slime. Using the print function, I can do:
CL-USER> (dolist (item '(1 2 3))
(print item))
1
2
3
NIL
In addition, format function works for single elements...
Pedro Delfino
Votes: 0
Answers: 3
How do you list items in a list in a better layout with line breaks?
Here's a simple python code:
random_list = ["yes", "no", "yessir", "nope", "maybe"]
print(random_list)
This is basics, we created a list and we print...
Hyperba
Votes: 0
Answers: 2
Why it is compiling it as an infinite loop instead for finite one?
/*
ques: print the numbers from 0 to n, if n is given by the user.
*/
#include <stdio.h>
#include <math.h>
int main()
{
int x;
printf("enter the value you want to prin...
Ajinkya Jaipurkar
Votes: 0
Answers: 0
How to add the new line without space after ',' in print() in Python
There is two data and printing the length of them.
Code:
print(len(author),'\n',len(authorUnique))
and output:
5439
4443
I would like to get:
5439
4443
What can I do to get what I want?
SunnyP
Votes: 0
Answers: 1