python book
python book
return 0;
}
CSE1001: Dr. P. Padmanathan 5
C++
// Header file for input output functions
#include <iostream>
using namespace std;
// main function - where the execution of program begins
int main()
{
// prints the given string
cout << “I am a programmer";
return 0;
}
CSE1001: Dr. P. Padmanathan 6
Python
print(“I am a Programmer”)
Multiline Comment:
print(""" "This is
a print statement" """)
Since numeric literals without a provided sign character denote positive values, an explicit positive sign character
is rarely used.