I love it. I tried the following, it printed with none of the single quotes.
num = int(input("Please enter number:")) # Input a number, using int as integer print(f"{num: ,}") # Without the single quotes =========================== Please enter number: 1234567890 =========================== 1,234,567,890
Comment
I love it.
I tried the following, it printed with none of the single quotes.
num = int(input("Please enter number:")) # Input a number, using int as integer
print(f"{num: ,}") # Without the single quotes
===========================
Please enter number: 1234567890
===========================
1,234,567,890
Replies
"none of the single quotes"?? What do you mean?