Waste less time on Facebook — follow Brilliant.
×

Program Code Formatting

This didn't seem very clear to me on the formatting guide. How do I express Python code in a grey code box?

Thanks in advance!

Note by Ahaan Rungta
4 years, 1 month ago

No vote yet
3 votes

Comments

Sort by:

Top Newest

If you want to add code to a normal sentence, you can do that too. Just put ` around your code. Tim Vermeulen · 4 years ago

Log in to reply

Indent each line of code an extra four spaces I think. Bob Krueger · 4 years, 1 month ago

Log in to reply

@Bob Krueger Thanks! That worked. Ahaan Rungta · 4 years, 1 month ago

Log in to reply

can we get problems based on C?? Jannatul Mawa · 4 years ago

Log in to reply

@Jannatul Mawa Your mean is using C programming language, Jannatul? Andrias Yuwantoko · 4 years ago

Log in to reply

×

Problem Loading...

Note Loading...

Set Loading...