check import action in code editor
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
# Example 3: Demonstrating basic arithmetic operations
|
||||
|
||||
a = 10 # Assigns integer 10 to variable 'a'
|
||||
|
||||
# Example 1
|
||||
|
||||
Age = 24;
|
||||
|
||||
if Age >=18:
|
||||
|
||||
c = 2.5 # Assigns floating-point number 2.5 to variable 'c'
|
||||
|
||||
|
||||
|
||||
print('Addition: ', a + b) # Prints the sum of 'a' and 'b'
|
||||
|
||||
|
||||
print('You are an adult')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user