18th Apr 2020, 3:31 AM
PARELLA MANIKANTA
3 ответов
+ 5
Use {} instead of [] format() method is being dominated by f-strings in python 3.6+ Instead of '{}'.format(some_variable), you can simply write: f'{some_variable}'
18th Apr 2020, 3:35 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
Yeah!! What he said was crt.. Use like... print("Even:{} and odd:{}".format(even, odd)) You'll get crt output.. 👍
18th Apr 2020, 3:38 AM
sarada lakshmi
sarada lakshmi - avatar
+ 1
replace [ ] braces with {} braces
18th Apr 2020, 4:19 AM
Rishi
Rishi - avatar