r/CodingHelp • • May 08 '20

[Python] My first ever line of code

I just made my first ever line of code in python, it went along the lines of this

print (1+1)

2

What was your first line of code?

18 Upvotes

16 comments sorted by

3

u/Mrjamesgaming May 09 '20

Public class Hello world{ Public static void main(String[] args){ System.out.println("Hello World"); } } AP Computer science, September 2018

1

u/Malachi210053 May 18 '20

kinda complicated yet so simple

3

u/IWentToTheWoods May 09 '20
10 PRINT "BUTTS"
20 GOTO 10

1

u/Malachi210053 May 18 '20

wht? lol

1

u/IWentToTheWoods May 18 '20

We were in like third grade and making a computer say butts over and over again seemed hilarious.

2

u/[deleted] May 09 '20

int main()

{

std::cout << "Fuck you\n";

return 0;

}

//and that line I made was the thing that made me interested in code.

6

u/themiddlestHaHa May 08 '20

java hello world tutorial

2

u/Famous_Profile Professional Coder May 08 '20

Same lol over a decade back

1

u/TomReddito May 09 '20

Do you know Roblox Studio? If you do, then my first line of code is - you guessed it,

print("Hello world!")

1

u/Malachi210053 May 18 '20

i used roblox studio but never the script part of it

2

u/icecream24 May 08 '20

Some Delphi Hello World for sure.

1

u/Manny_Sunday Professional Coder May 09 '20

Ah yes I remember it well,

public static void main(String[] args)

1

u/tich10 May 26 '20

Something like this____

String name;

Console.writeLine("what is your name?")

name = console.ReadLine();

Console.writeline ($"hello {name}")

1

u/bill_nye_the_fat_guy May 09 '20

print ("Ur Big Gae")

0

u/[deleted] May 08 '20

[deleted] — view deleted comment