0
Graphs in Python
Help me to understand 2 things in ‘def display’. Check the comments in the code https://code.sololearn.com/c66ZSmO8Nh83/?ref=app
1 Answer
+ 3
print() just prints a newline
Try;
print('first line')
print('second line')
print()
print('third line')
# Outputs
first line
second line
third line
{:4} is is a format specifier. This one will make the value passed in have a minimum width of 4. It's a bit too much to explain all about it in a single post so here is some more information to learn from.
https://realpython.com/python-formatted-output/
Hot today
Please help, any idea?
2 Votes
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
1 Votes
What is wrong? Error on test.
1 Votes
Help me solve this (using loop)
1 Votes
Help me wiht python
1 Votes
how can i flip any word with c++
0 Votes