If command on Python
Can someone give me a template for the "If=" Command please?
Here's awesome things you can compare using if statements!
If you're comparing a STRING (something surronded in ' ')
This will help:
if 'whatever_string_here' == 'whatever_string_here':
print('Verified!')
For numbers you can do something like this:
if NUMBER_VALUE > NUMBER_VALUE:
# Code Here
@AloegelhiPlaysR Thanks so much!
example
if 1 == 1:
print("1 is equal to 1")
@JacobMcPherson1 Thank you!
@KierstenKuk np, also click the check mark next to my comment
@JacobMcPherson1 for the code you gave me, I'm trying to replace the 1 == 1 with something else. How do I make the code work?
@KierstenKuk What are you trying to replace it with?
@JacobMcPherson1 a name :>
@KierstenKuk do you want to check user input?
@JacobMcPherson1 whats that- TwT
@KierstenKuk just take a python tutorial
https://www.w3schools.com/python/default.asp
@JacobMcPherson1 what are cycles? it says "Will be awarded 5 cycles"
try:
@Coder100 thanks so much!
np! @KierstenKuk