0
Why last line doesn't work
3 odpowiedzi
+ 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}'
+ 1
Yeah!! What he said was crt.. Use like...
print("Even:{} and odd:{}".format(even, odd))
You'll get crt output.. 👍
+ 1
replace [ ] braces with {} braces