How to write a name in python

Question:


Repl link:

code snippet

Hi @AjayKumar430, welcome to the community!

Can you be more specific with your question and post a link to your Repl? Here’s an example of printing a name out in Python:

print("Ajay")
3 Likes

A name to what? to variables you just write the name, you do nameHere = 10

Class names you generally should start with a capital letter, you cant use operator signs or spaces when making object names

class Car
2 Likes

There are rules for proper code writing … if that is the question.
It is PEP8

https://peps.python.org/pep-0008/

2 Likes

print(“@QwertyQwerty88”)