The Student Room Group

What programming language should I learn?

I've been learning python in school since year 9 and I find it really enjoyable but I want to learn something new. Firstly, would it be confusing for me to learn another language when I will be graded using python at school or would it be manageable? If it would be okay then which language should I choose to learn, or maybe continue with python?

I really want to learn them all but I know that is slightly unrealistic so I thought maybe hearing advice from what others have done could help :smile:
Reply 1
Original post by anonizzy
I've been learning python in school since year 9 and I find it really enjoyable but I want to learn something new. Firstly, would it be confusing for me to learn another language when I will be graded using python at school or would it be manageable? If it would be okay then which language should I choose to learn, or maybe continue with python?

I really want to learn them all but I know that is slightly unrealistic so I thought maybe hearing advice from what others have done could help :smile:

Entirely depends what you want to do with said language.
Reply 2
Original post by IWMTom
Entirely depends what you want to do with said language.

Hm I really just want to learn anything, there isn't something in particular I want to do with it, but I just want to learn first. Is that a bad way to go about it?
It would help to have some idea of what you want to do with it I think. Do you want to be able to build websites? Do you enjoy statistics and data analysis? Do you want to be able to make simulations?
I would advise starting with HTML/CSS, then moving to JavaScript. This way, you'll be able to make stunning websites. It's also loads of fun!
Reply 5
Original post by physgradstudent
It would help to have some idea of what you want to do with it I think. Do you want to be able to build websites? Do you enjoy statistics and data analysis? Do you want to be able to make simulations?


Original post by siodvcnseuv
I would advise starting with HTML/CSS, then moving to JavaScript. This way, you'll be able to make stunning websites. It's also loads of fun!

I think maybe I enjoy the idea of simulations and websites, like actually being able to build something so thank you for the html / javascript advice. I have found a few good places for this so I'll look into it
If you want to study CS at university, do C++ because it's proper programming unlike Python and it lays the foundation for computational thinking. With C++ you can easily learn Java and C# and with these three mastered you are a qualified software engineer.
Reply 7
Original post by anonizzy
Hm I really just want to learn anything, there isn't something in particular I want to do with it, but I just want to learn first. Is that a bad way to go about it?

Sort of, yes. It's pointless learning another language that is too similar to what you already know. After all, syntax differences are minimal - it's the libraries and knowing how to use them that take time.

If you really just want to learn ANYTHING then go for Java. A nice general purpose language.
Original post by AndyChow
If you want to study CS at university, do C++ because it's proper programming unlike Python and it lays the foundation for computational thinking. With C++ you can easily learn Java and C# and with these three mastered you are a qualified software engineer.

Python is a proper language. :confused:
Reply 9
Original post by AndyChow
If you want to study CS at university, do C++ because it's proper programming unlike Python and it lays the foundation for computational thinking. With C++ you can easily learn Java and C# and with these three mastered you are a qualified software engineer.

I can hand on heart say I've not seen a single C++ job advert in the last two years on LinkedIn outside of game development.
Original post by AndyChow
If you want to study CS at university, do C++ because it's proper programming unlike Python and it lays the foundation for computational thinking. With C++ you can easily learn Java and C# and with these three mastered you are a qualified software engineer.

I mean, I'd be more inclined to suggest learning C if you want to understand the 'low-level' concepts of programming. Even then, I wouldn't flat out commit to learning 'C', only how it works in certain areas (pointers, memory allocation ect..). That way you get a fundamental understanding at what higher level languages like Python do under the hood.

I'd probably say Java is the best choice for someone learning as it grants solid foundations of general programming and OOP concepts.
Hey!
I’d strongly suggest learning python to a high level, as it is super versatile once you really get the hang of it. Did you know google use python for a lot of their services?
If you really want to expand, I’d suggest learning C++ - I’ve done a bit and it’s a nice language. It compiles straight to machine code so can be used for making applications.

Also, I’d be careful with HTML and CSS. People have suggested it, but it’s a very different thing to python, Java, JavaScript etc - it’s a formatting language and not a scripting language.

That aside, I love HTML and CSS (and PHP) and I would suggest learning them as they really do allow you to put together very rewarding projects.
Reply 12
Thank you everyone for the feeback! I really appreciate it and I'm going to find some online courses to help learning this so I have experience to choose which I want to learn the most out of them. I think most of you said either java or C / C# so I'll definitely check that out and also maybe keep python on the side since I already know a bit of it. I think html would also maybe a good side project if I get bored with python so thank you for the ideas, although now it seems I'm just trying to learn them all again haha, but thank you!
any one good at python programming trying understand this code


# Online Python - IDE, Editor, Compiler, Interpreter
import math


def sum(a, b):
return (a + b)

n=int(input("plesae put value of n please",))
for n in range(100):
print(math.sin(n))
print(math.tan(n))


a = int(input('Enter 1st number: '))
b = int(input('Enter 2nd number: '))
for a in range(1, 10000000):
if a % 5 ==0:
print(sum(a, b))
#Python program for fibonnaci sequence
# Program to display the Fibonacci sequence up to n-th term
nterms = int(input("How many terms? "))
# first two terms
n1, n2 = 0, 1
count = 0
# check if the number of terms is valid
if nterms <= 0:
print("Please enter a positive integer")
elif nterms == 1:
print("Fibonacci sequence upto",nterms,":")
print(n1)
else:
print("Fibonacci sequence:")
while count < nterms:
print(n1)
nth = n1 + n2
# update values
n1 = n2
n2 = nth
count += 1
# Python Program to find First Digit of a Number
number = int(input("Please Enter any Number: "))
for first_digit in range(number):
if first_digit % 7 ==0:
print(first_digit)
# Python Program to find the Last Digit in a Number
def secondDigit(num):
return num % 10
number = int(input("Please Enter any Number: "))
second_digit = secondDigit(number)
print("The Last Digit in a Given Number %d = %d" %(number, second_digit))
first_digit = number
while (first_digit >= 10) in range(1,10):
first_digit = first_digit // 10
print("The First Digit from a Given Number {0} = {1}".format(number, first_digit))
j=int(input("please put the value to extract digit",))
def get_digit(j):
if num < 10:
print(j)
else:
get_digit(j // 10)
print(j % 10)
# Python Program to find First Digit of a Number
number = int(input("Please Enter any Number: "))
first_digit = number
while (first_digit >= 10):
first_digit = first_digit // 10
print("The First Digit from a Given Number {0} = {1}".format(number, first_digit))
# Python Program to Count Number of Digits in a Number using While loop
Number = int(input("Please Enter any Number: "))
Count = 0
while(Number > 0):
Number = Number // 10
Count = Count + 1
print("\n Number of Digits in a Given Number = %d" %Count)
# Python Program to find First Digit of a Number
import math
number = int(input("Please Enter any Number: "))
count = int(math.log10(number))
second_digit = number // math.pow(10, count)
print("The First Digit from a Given Number {1} = {1}".format(number, second_digit))
def Reverse_Integer(Number):
Reverse = 0
while(Number > 0):
Reminder = Number %10
Reverse = (Reverse *10) + Reminder
Number = Number //10
return Reverse
Number = int(input("Please Enter any Number: "))
Reverse = Reverse_Integer(Number)
print("\n Reverse of entered number is = %d" %Reverse)
print(Reverse)
def Reverse_Interger(Number):
Reverse = 0
while(Number > 0):
Reminder = Number %10
Reverse = (Reverse *10) + Reminder
Number = Number //10
return Reverse
Number = int(input("Please Enter any Number: "))
Reverse = Reverse_Integer(Number)
print("\n Reverse of entered number is = %d" %Reverse)
print(Reverse)
Original post by achieve526kk
any one good at python programming trying understand this code


# Online Python - IDE, Editor, Compiler, Interpreter
import math


def sum(a, b):
return (a + b)

n=int(input("plesae put value of n please",))
for n in range(100):
print(math.sin(n))
print(math.tan(n))


a = int(input('Enter 1st number: '))
b = int(input('Enter 2nd number: '))
for a in range(1, 10000000):
if a % 5 ==0:
print(sum(a, b))
#Python program for fibonnaci sequence
# Program to display the Fibonacci sequence up to n-th term
nterms = int(input("How many terms? "))
# first two terms
n1, n2 = 0, 1
count = 0
# check if the number of terms is valid
if nterms <= 0:
print("Please enter a positive integer")
elif nterms == 1:
print("Fibonacci sequence upto",nterms,":")
print(n1)
else:
print("Fibonacci sequence:")
while count < nterms:
print(n1)
nth = n1 + n2
# update values
n1 = n2
n2 = nth
count += 1
# Python Program to find First Digit of a Number
number = int(input("Please Enter any Number: "))
for first_digit in range(number):
if first_digit % 7 ==0:
print(first_digit)
# Python Program to find the Last Digit in a Number
def secondDigit(num):
return num % 10
number = int(input("Please Enter any Number: "))
second_digit = secondDigit(number)
print("The Last Digit in a Given Number %d = %d" %(number, second_digit))
first_digit = number
while (first_digit >= 10) in range(1,10):
first_digit = first_digit // 10
print("The First Digit from a Given Number {0} = {1}".format(number, first_digit))
j=int(input("please put the value to extract digit",))
def get_digit(j):
if num < 10:
print(j)
else:
get_digit(j // 10)
print(j % 10)
# Python Program to find First Digit of a Number
number = int(input("Please Enter any Number: "))
first_digit = number
while (first_digit >= 10):
first_digit = first_digit // 10
print("The First Digit from a Given Number {0} = {1}".format(number, first_digit))
# Python Program to Count Number of Digits in a Number using While loop
Number = int(input("Please Enter any Number: "))
Count = 0
while(Number > 0):
Number = Number // 10
Count = Count + 1
print("\n Number of Digits in a Given Number = %d" %Count)
# Python Program to find First Digit of a Number
import math
number = int(input("Please Enter any Number: "))
count = int(math.log10(number))
second_digit = number // math.pow(10, count)
print("The First Digit from a Given Number {1} = {1}".format(number, second_digit))
def Reverse_Integer(Number):
Reverse = 0
while(Number > 0):
Reminder = Number %10
Reverse = (Reverse *10) + Reminder
Number = Number //10
return Reverse
Number = int(input("Please Enter any Number: "))
Reverse = Reverse_Integer(Number)
print("\n Reverse of entered number is = %d" %Reverse)
print(Reverse)
def Reverse_Interger(Number):
Reverse = 0
while(Number > 0):
Reminder = Number %10
Reverse = (Reverse *10) + Reminder
Number = Number //10
return Reverse
Number = int(input("Please Enter any Number: "))
Reverse = Reverse_Integer(Number)
print("\n Reverse of entered number is = %d" %Reverse)
print(Reverse)

Bit of a vague question. What do you mean understand it? If you've done Python and actually read what it's doing you can understand it.

Quick Reply

Latest

Trending

Trending