format-string tag

2 questions


1 answers
111 views
0
How do I print out % of special characters instead of "\" when printing?

printf(hello\%); //not like thisIf I use a backslash, it's too hard to see when there are too many special characters, so I want to know another way.I get the same result as that code, but is there a ...

2 years ago

2 answers
118 views
0
How to eliminate spacing due to Python print ','

a = input()print(a[:2],shprint(a[3:]Minutes)It comes out like this because I used and but how do I print out without spacing?(I want to minimize the running time!))

2 years ago

© 2024 OneMinuteCode. All rights reserved.