Wanajamvi mimi nilianza kujifunza programming tuseme accidentally to it was when I was still in form 3.. Na language ya kwanza kuigundua na kuanza kujifunza ilikua HTML hivohivo kwa bahati nasibu na sikuwa na mtu yoyote yule wa kunisaidia zaid ya kudownload tutorials na kukomaa mwenyewe coz I was eager to understand baadae hvohvo nikajua javascript na nimeifanya hii kwa miaka ming japo kama mnavojua mara shule zetu boarding hamna PC so my progress was sloed down Lakini leo I'm competent kias kwamba I can code simple games and mathematical utilities xa nnaomba ushauri what language should I start with after these HTML javascript & CSS which i see ziko simpo sana af hazntonifikisha nnapopataka? What are best practises when learning programming na vitu kama ivo.?
C++, Python, Perl, PhP. If you like maths also go into learning how to geek with Matlab (it's rich in inbuilt packages to solve various problems however). If you would love to learn how to hack go a bit into exploring Lisp.
You fuc.king like programming? This is your first assignment. Translate the following code into Python script, and let it do what it does:
function myFunction() {
}
function createAndSendDocument() {
// Create a new document with the title 'Hello World'
var doc = DocumentApp.create('Hello World');
// Add a paragraph to the document
doc.appendParagraph('This document was created by my first Google Apps Script.');
// Save and close the document
doc.saveAndClose();
// Get the URL of the document
var url = doc.getUrl();
// Get the email address of the active user - that's you
var emailAddress = Session.getActiveUser().getEmail();
// Send yourself an email with a link to the document
GmailApp.sendEmail(emailAddress,
'Hello from my first Google Apps Script!',
'Here is a link to a document created by my ' +
'first Google Apps Script: ' + url);
}
Submit your translated code here before midnight.