Jimmy Wang
@jwangtcsyl
Python Learner
For the past few week I been working on making some python simple games. And this is one of the games I finished.
Python
I made a project that will print out all the Fibonacci Sequence number. But for the "for loop", is there anyway that the how many times it do can be i
Python
Nemoiscool Yep! This actually isn't too hard to do. try this:
num = int(input("How many numbers do you want? "))
for j in range(num):
Just make sure you int() the input, otherwise you'll get an error message saying that string type is not iterable, or something like that.3 years ago
AllAwesome497 Oh i see what you want to do. What you want to do is input how many times the number is printed.
You can use input('') to get the users input as a string
Then you can convert it to an int, using int(input('...')) and assign it to a variable, such as user_input = int(...)
then instead of for j in range(100): use for j in range(user_input) and then you have it.
3 years ago
I build a project that you can transform fahrenheit and celsius.
Python
Try this turtle project that you can draw all polygon. You need to click console first, then click result.
Python (with Turtle)