Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Lesson1
Lesson 1 #python 3.5.2 # https://1drv.ms/f/s!ArsHV2FdZgQ1iQOclKKq2kqbxLdg #1. Variables and simple operations a = 25 b = 50 c = 100 # First, store the a+b+c in sum sum = a + b + c # then you print the sum value print (sum) # Condition: # If it is Saturday and it is 5 pm, we have a meeting #2 If conditions if (a<b) and (a<c): print ("a is less than both b and c") elif a > b: print ("a bigger than b") elif b > c: print ("b bigger than c") elif c > a: print ("c bigger than a") else: print ("I don't know!") #3 Nested-If conditions a, b, c = 60, 50, 100 if a < b: if b < c: print ("a is lesser than b but b is lesser than c") else: print ("a is lesser than b but b is greater than c") else: print ("a is greater than b")
run
|
edit
|
history
|
help
0
first index of a substring in a given string
Math 10.96
2.10.4
list copy test
My_Response
Code challenge: Factorial
Lab8
Timer1
Enum.IsDefined
Expression Tree - Demo2