Profile icon

Landon Pavlik

@LandonPavlik
published an Update
1 year ago
0
Scooby Doo Mystery Fight
Scooby Doo Mystery Fight Wants
Hey, I just finished my scooby doo themed fight and was wanting to make scooby block and not take damage, the enemy to take more damage than scooby inflicted on the enemy on the enemy's turn, and finally the enemy to miss and not do any damage but I don't know how. Can somebody adjust my code to meet the requirements thankyou
JagLaser
Not sure about first two but for miss you could have: miss=random.randint(1,3) if(miss==3): No damage Or something1 year ago
LandonPavlik
published an Update
1 year ago
0
Binary And ASCII Code Project
Idk what my code is doing wrong and and I need help fixing it. can somebody please help me, thank you.
SixBeeps
@LandonPavlik Your call to AB() shouldn't be indented.1 year ago
LandonPavlik
published a Repl
1 year ago
0
Game Of Choices 1I got it wrong the title should be Game Of Choices 1 Have fun
LandonPavlik
shared a Post
1 year ago
How do I make it to where you can have a choice between two things in python?
sn236
There is another way variable name = input("Enter your name: ") da = int(input("Enter the date: ")) if(da== 5): print("") elif(da== 1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31): print("") you can change the variable name and the statements1 year ago
xfinnbar
You can use input and str.lower(): choice = None while choice == None or choice.lower() not in ["cat", "dog"]: # while the user has not picked a valid answer, repeat the question. choice = input("What's your favourite animal? (cat/dog)\n") if choice.lower() == "dog": code to run if user likes dogs if choice.lower() == "cat": code to run if user likes dogs `1 year ago
LandonPavlik
shared a Post
1 year ago
How do i make it look like i'm texting one letter at a time
OatMilk
if you mean by printing out the letters one at a time you could do this https://replit.com/@OatMilk/GreatPeriodicParallelcomputing1 year ago
ch1ck3n
https://replit.com/@ch1ck3n/GreatPeriodicParallelcomputing#main.py like this?1 year ago
LandonPavlik
shared a Post
1 year ago
How do I use the print command?
ShizukoV
Like this: print("Landon Pavlik") `1 year ago
ch1ck3n
print('hello my name is ivanna tinkle')1 year ago
LandonPavlik
shared a Post
1 year ago
What are some basic python commands
MrVoo
If you're saying what I think you're saying, a very basic one is print. To use it, put text in quotes like this: print('hi'). If you want an actual Python tutorial, try w3schools.com. If you mean discord bot commands, a quick google search should help with that.1 year ago