Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create projet_jba_2025 #279

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mouhameddia-alt
Copy link

c'est mon projet de soutenance de licence

Summary

Changes

Closes:

Task list

  • For workflow changes, I have verified the Actions workflows function as expected.
  • For content changes, I have reviewed the style guide.

c'est mon projet de soutenance de licence
@heliodoro198205
Copy link

heliodoro198205 commented Jan 3, 2025 via email

@furqunali
Copy link

Arithmetic operators

print(7 + 5) # Addition
print(10 - 5) # Subtraction
print(10 / 2) # Division
print(5 * 2) # Multiplication
print(8 ** 2) # Exponentiation
print(11 // 2) # Floor division
print(11 % 2) # Modulus (remainder)

Working with variables

num1 = 5
num2 = 5
print(num1 + num2) # Addition
print(num1 - num2) # Subtraction
print(num1 / num2) # Division
print(num1 * num2) # Multiplication

Assignment operators

x = 25
x = x + 5 # Add 5 to x
print(x)
x = x - 5 # Subtract 5 from x
print(x)
x = x * 2 # Multiply x by 2
print(x)
x = x % 3 # Modulus (remainder)
print(x)

Comparison operators

num1 = 20
num2 = 11
print(num1 == num2) # Equal to
print(num2 > num1) # Greater than
print(num2 < num1) # Less than
print(num1 >= num2) # Greater than or equal to
print(num1 <= num2) # Less than or equal to
print(num1 != num2) # Not equal to

Logical operators

x = True
y = False
print(x and y) # and operator
print(x or y) # or operator
print(not x) # not operator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants