format-string tag

2 questions


1 answers
99 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 ...

1 years ago

2 answers
107 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.