anonizzy
Badges: 10
Rep:
?
#1
Report Thread starter 1 month ago
#1
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
0
reply
IWMTom
Badges: 20
Rep:
?
#2
Report 1 month ago
#2
(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
Entirely depends what you want to do with said language.
0
reply
anonizzy
Badges: 10
Rep:
?
#3
Report Thread starter 1 month ago
#3
(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?
0
reply
physgradstudent
Badges: 10
Rep:
?
#4
Report 1 month ago
#4
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?
0
reply
siodvcnseuv
Badges: 10
Rep:
?
#5
Report 1 month ago
#5
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!
0
reply
anonizzy
Badges: 10
Rep:
?
#6
Report Thread starter 1 month ago
#6
(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
0
reply
AndyChow
Badges: 19
Rep:
?
#7
Report 1 month ago
#7
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.
0
reply
IWMTom
Badges: 20
Rep:
?
#8
Report 1 month ago
#8
(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.
0
reply
Afrrcyn
Badges: 18
Rep:
?
#9
Report 1 month ago
#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.
Python is a proper language. :confused:
0
reply
IWMTom
Badges: 20
Rep:
?
#10
Report 1 month ago
#10
(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.
0
reply
Strange5050
Badges: 16
Rep:
?
#11
Report 1 month ago
#11
(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.
1
reply
MrSandyWilly
Badges: 18
Rep:
?
#12
Report 1 month ago
#12
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.
0
reply
anonizzy
Badges: 10
Rep:
?
#13
Report Thread starter 1 month ago
#13
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!
0
reply
achieve526kk
Badges: 9
Rep:
?
#14
Report 1 month ago
#14
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)
0
reply
Strange5050
Badges: 16
Rep:
?
#15
Report 1 month ago
#15
(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.
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

Do you have the space and resources you need to succeed in home learning?

Yes I have everything I need (252)
57.01%
I don't have everything I need (190)
42.99%

Watched Threads

View All
Latest
My Feed