In Python, can I do something like the following that I did in Java?
I want to have two constructors, a default constructor and one that asks me to send a string.
public class Person
{
String name;
public static void main(String[] args)
{
Person person = new Person("John");
Person person2 = new Person();
}
public Person()
{
name = "No name";
}
public Person(String name)
{
this.name = name;
}
}