Share your repls and programming experiences

← Back to all posts
My first program
KadenKestler (51)

It’s my first program so don’t judge.

Commentshotnewtop
AncientBison (64)

nice i wonder why every new programer writes python not js...

KadenKestler (51)

@AncientBison it was the first program I stumbled across and it was easy for me to find a beginner’s tutorial. In the future I will probably try to learn JavaScript too.

AncientBison (64)

@KadenKestler I like python but JS has a wider range of usage like in HTML pages(Websites).

KadenKestler (51)

@AncientBison thanks for the info! Python is more basic so it is better for people who have never coded past block coding like scratch jr.

DynamicSquid (3229)

@KadenKestler No.... Python's simplicity is a downside. I wouldn't recommend beginners to learn it.

AncientBison (64)

@DynamicSquid I agree, It is quite hard to do many things that can be easily achieved in JS like a aspect of time.

AncientBison (64)

@KadenKestler I used to make alot of scratch and stuff but It had to little diversity like with Python v.s JS

DynamicSquid (3229)

@AncientBison No, I don't mean that. It's just that Python doesn't have types, various arrays, not any of that. Even js is similar to python. On the other hand, a language like Processing has those things, while still being easy to learn.

mo2409 (14)

@AncientBison Aspect of time is easy in Python WDYM?

mo2409 (14)

@AncientBison Yea, What about a setTime socket?

InfinixbOYk42 (4)

Ya! But It Is Said In Few Years Python Will Be Mostly Used In Apps,Programs&Softwares,Websites,A.I,Deep learning, And For Making Automatic [email protected]

[deleted]

@AncientBison no...
node.js is without html!
you should learn it!
it's so ez

22zachf (0)

@AncientBison Our school considers it an easier program for people to learn... however I like js and java more.

AncientBison (64)

@KadenKestler I subject to learn the HTML,CSS,JS in the begining because you can make web pages

AncientBison (64)

@sojs :p Your profile picture is literlay the node js logo!

sojs (246)

@AncientBison Guess my favorite language...

LOUISCAO (0)

@AncientBison Javascript is a bit harder

AncientBison (64)

@IndyCarter Python is a great language JS also great i am not trying to be mean to Python

LOUISCAO (0)

@AncientBison But for kids or teens, its a bit hard to understand.

AncientBison (64)

@LOUISCAO I was 7 when I learned python and two months later I learned The Web Languages (JS,HTML,CSS) and PHP

AncientBison (64)

@LOUISCAO But my friend who is ten does not even understand basic scratch.

Wilke000 (489)

Yeah @AncientBison Python is very very very good

AncientBison (64)

@IndyCarter I think it is as good as JS!

nt998302 (179)

@DynamicSquid I agree, but I have to say, the JS syntax is a little weird. I can't say that C++ is a good beginner lang, but u know...

oignons (299)

Good start! I hope you build on your knowledge of coding!

oignons (299)

@AncientBison you mean why do I use it? It has more features than c++11, but i interchange a lot. Do you want me to teach you?

AncientBison (64)

@ipastrano I mean that you use C++ and C++ 11 are they very different?

oignons (299)

@AncientBison no, they are basically the same, think of c++11 as an update to c++. They just added a few more features. The teaching offer still stands :)

AncientBison (64)

@ipastrano No thank you, One day I will learn but for right now i'm sticking with java to do class-oriented coding.

oignons (299)

@AncientBison Can't say, I never learned it

AncientBison (64)

@ipastrano It is very similar to C++ you probably could understand and write it with no work (It is almost the same thing)

AncientBison (64)

@ipastrano Why did you unvote your comment?

xxpertHacker (381)

@AncientBison As one who knows (knew) both C++, and Java, might I inform you that C++ has plenty of classes? The basic structure in C++ is a class.

xxpertHacker (381)

@AncientBison Might I ask what you mean by "tests"?

AncientBison (64)

@ipastrano My laptop died :p I went to my computer but it did not want to do anything that day :)

AncientBison (64)

@StudentFires Like a way to debug easily.

ChezCoder (1500)

This is a beautiful first program for anyone

NishyTheFishy (9)

Ok I understand your new and all I'm not saying your bad, but how did this get 40 upvotes?

pysaundary (2)

print("Who are you?")
name = input("what is your name? ")
age = input("how old are you? ")
print("Oh! So you're {0} , But your {1} so I can't trust you. OK bye!".format(name,age))

AncientBison (64)

@pysaundary Not many people know about format but I like format alot :)

Jakman (439)

@AncientBison lots of people know about format my friend.

Jakman (439)

@AncientBison just not beginners usually

AncientBison (64)

@Jakman Ummmm......... not many people know how to code so a percentage of them know python and a percentage of them know format...

Jakman (439)

@AncientBison oh. I thought that you meant only programmers. also formatting is in every language man.

Jakman (439)

@AncientBison yeah almost all middle to high level langs support string formatting.

Voyde (4)

I like it ;) I'm pretty basic myself. I look forward to your future programs...

KadenKestler (51)

Thank you so much for the support!

AmIGoodAtChess (6)

thats incorrect grammar. it should be you're, not your.

KadenKestler (51)

@AmIGoodAtChess It should be fixed. Thanks for the help!

Ganesha1 (32)

@AmIGoodAtChess *That's incorrect grammar, it should be you're, not your.

Wilke000 (489)

@KadenKestler this:

and then this:

How!!!???

Wilke000 (489)

And you don't have hacker plan!!!???

DannyIsCoding (657)

Your first program and 33 upvotes! Congrats!

CodingCactus (3060)

@DannyIsCoding how are your idea for goose 2 going?

DannyIsCoding (657)

@CodingCactus I have the idea, now it's work in progress. I plan on making it the 300 cycles special. Thanks for asking!

DannyIsCoding (657)

@CodingCactus Thank you! but the work is gonna go a little slow, because of online school.

unguest (0)

You may use the last format string option proposed by Python :
print(f"Oh! So you're {name} ! But your {age} so I can't trust you. OK bye!")

Haizi (8)

This is a good first program!

PXY (43)

For a first program, this is great!

AWESOMENESS_555 (3)

Nice program! Just one point that annoys me as a perfectionist is that it's "you're" not "your"

DynamicSquid (3229)

4 lines of code gets 30 upvotes, but this awesome tutorial about advanced variadic templates that took days to write only gets 2 upvotes...

xxpertHacker (381)

@DynamicSquid Pff lmao. I was gonna separate that soon, maybe start a C++ series next month. @KadenKestler would you care to join?

DS, did you even read it?

AncientBison (64)

@DynamicSquid I like how you advertise your things on large posts also... your correct.

DynamicSquid (3229)

@AncientBison It's not mine, it's @StudentFires. And I'm not talking about his post only, there are many great underrated tutorials out there.

AncientBison (64)

@DynamicSquid Are you going to do a 300 cycle special?

DynamicSquid (3229)

@AncientBison i never said you were mean, and no, maybe a 500 one though :)

AncientBison (64)

@DynamicSquid I am sorry i thought that is what you meant and happy 300 cycles

ElliotUffens (1)

I approve of all but the "your" which should be "you're".
Sorry about the grammar policing but I'm too cool not to help :)

LOUISCAO (0)

I'm starting Python Turtle and you can use the tutorial videos on your home page down below.

isaacproskils (6)

Good job this was a pretty good one

Axrevyn (202)

A fix would be to use int(input("How old are you?")) instead of a normal input()

DarkEquinox (0)

Use INT and INPUT for Age then it will be better

TresdenSchaffer (1)

dis is noice for a first repl, good job

KadenKestler (51)

Thank you so much for the feedback! I’m gonna try and learn JavaScript now.

[deleted]

it's cool!

InfinixbOYk42 (4)

Good For Beginner I Like Your Creation