Forum in maintenance, we will back soon 🙂
Python operation
Â
that could be easy to you. but not for me.
Â
Please don't skip something easy you think. that could be hard to me..
Â
you only wrote something only examples. not on the course..
Â
what's that three things on the photo?
Hi Friend
-
Modulus Operator (%): The modulus operator calculates the remainder of the division between two numbers. For example,
x % y
returns the remainder whenx
is divided byy
. It is commonly used to determine whether a number is even or odd by checking if the remainder of division by 2 is zero (even) or non-zero (odd). -
Floor Division Operator (//): The floor division operator performs division between two numbers and rounds the result down to the nearest whole number (integer value). For example,
x // y
returns the largest integer that is less than or equal to the division result ofx
byy
. -
Exponentiation Operator (**): The exponentiation operator raises a number to a specified power. For example,
x ** y
calculatesx
raised to the power ofy
. It is equivalent topow(x, y)
. For instance,2 ** 3
returns 8 since 2 raised to the power of 3 is 8.
@admin have to remember everything..??
still not sure that could help me to make kinda website like yours..
the reason I'm here for me is to utilize open ai and get some help getting code from there and make the website tools like you..
Â
Â
Friend, if this is your first time writing code, it is normal. We all start like this.Â
you will not memorize anything, these are basic operations ( + , - , X ....) we took them in elementary grade.
and yes, if you wanna build custom tools, you should learn the basics here.