How can you make a module ‘helloworld’ out of these two functions? def hello(): print ‘Hello,’, def world(): print ‘World!’
Answers
Answered by
0
Python is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate (prepared) code. The simplest directive in Python is the "print" directive - it simply prints out a line (and also includes a newline, unlike in C).
There are two major Python versions, Python 2 and Python 3. Python 2 and 3 are quite different. This tutorial uses Python 3, because it more semantically correct and supports newer features.
Similar questions