Whenever I start learning a new programming language, I focus on defining variables, writing a statement, and evaluating expressions. Once I have a general understanding of those concepts, I can usually figure out the rest on my own. Most programming languages have some similarities, so once you know one programming language, learning the next one is a matter of figuring out the unique details and recognizing the differences.
To help me practice a new programming language, I like to write a few test programs. One sample program I often write is a simple “guess the number” game, where the computer picks a number between one and 100 and asks me to guess it. The program loops until I guess correctly.