10 Answers
+ 1
try this :)
import random
num = random.choice(range(1, 11))
guess = input("guess a number between 1 and 10... ")
if guess == num:
print("Well Done you guessed the number!")
else:
print("Try again!")
Let me know if you need something a little more simple!
0
I like this book on python, it has everything you need to know to get started... also the Python for beginners course is a good place to start!
https://python.swaroopch.com/control_flow.html
0
Start simple with something like a number guessing game!
This will help you learn the syntax as well as some other important stuff such as variables and loops!
Then try something like a password cracking game (example is on my profile if you can see it) and work your way up from there!
Also look on YouTube for advice from developers on good beginner projects, there are hundreds of good projects to get started!
0
This website is totally Beginner friendly
https://www.w3schools.com/JUMP_LINK__&&__python__&&__JUMP_LINK
0
Ask yourself
What do I want to do with python?
Then start researching
0
calculator
.....
Code to inverse number that you input it
.....
Program that changes numbers to
Letters for example 122...to...one hundred twenty two
0
Excuse me?
- 2
Give me some ideas
- 2
Give me some codes