On Tue, Mar 3, 2020 at 8:06 AM Luca Wolf <luca.w...@outlook.com> wrote: > > Dear Python Team, > > I have a good idea for a new comand in Python. > > It’s „intput()“ for numbers. So you don’t have to write „int(Input())“. > > It’s much easier to write and it’s faster too. > > You can use the same for „floatput()“, so don’t have to write > „float(Input())“. > > > > I hope you can make something good with this idea. >
Put this at the top of your program: def intput(p=""): return int(input(p)) def floatput(p=""): return float(input(p)) There! Done :) BTW, ideas like these generally want to go to python-ideas, not python-dev; or for some of them, python-list is appropriate too, as you'll often get responses showing how you can do it with existing Python versions. ChrisA _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/W5ICQOI5HQSSRMNBY5BJCLFDUXINKAEO/ Code of Conduct: http://python.org/psf/codeofconduct/