Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
No need for string typecasting because in python every user input is by default string
  • Loading branch information
16ratneshkumar authored Jul 28, 2024
1 parent 5aa23ca commit 162b1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qrcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

# QR Code Generator
query = input("Enter Content: ") # Enter Content
code = qrcode.make(str(query)) # Making the QR code
code = qrcode.make(query) # Making the QR code
code.save("qrcode.png") # Saving the QR code file

0 comments on commit 162b1dc

Please sign in to comment.