Презентация, доклад на тему Condational Statements

If I were a president, I would …https://learningapps.org/display?v=pziwf153c19

Слайд 1x=input (‘Enter the data’)

2) a= int (input(‘Enter the data’))

3) print(“2+3”)

4) print

(2+3)

5) name= “Dias”
print (“My name is”, name)
x=input (‘Enter the data’)2) a= int (input(‘Enter the data’))3) print(“2+3”)4) print (2+3)5) name= “Dias”  print (“My

Слайд 2If I were a president, I would …
https://learningapps.org/display?v=pziwf153c19

If I were a president, I would …https://learningapps.org/display?v=pziwf153c19

Слайд 3CONDITIONAL STATEMENTS
(IF/Elif/ELSE)
The 27th of February

CONDITIONAL STATEMENTS(IF/Elif/ELSE)The 27th of February

Слайд 4You will:


-solve problem;

-apply if/elif/else statements.

You will:-solve problem;-apply if/elif/else statements.

Слайд 5Terminology

https://quizlet.com/374102548/conditional-statements-flash-cards/

Terminologyhttps://quizlet.com/374102548/conditional-statements-flash-cards/

Слайд 7Statements like ‘IF’ or ‘IF/ELSE’ or “IF/ELIF/ELSE” are called CONDITIONAL STATEMENTS

in computer programming

«Exam grader»
grade = int(input (“How many percentages?”))
if grade >79:
print(“You get 5”)
elif grade >59:
print(“You get 4”)
elif grade >39:
print(“You get 3”)
else:
print(“You get 2”)


Statements like ‘IF’ or ‘IF/ELSE’ or “IF/ELIF/ELSE” are called CONDITIONAL STATEMENTS in computer programming«Exam grader»grade = int(input

Слайд 9Descriptor: 1. Collect a code
2. Check a code


Descriptor: 1. Collect a code	2. Check a code

Слайд 10Task 2
Compare two numbers
In this problem, you need to compare two

numbers: A and B
Input: an integer
Output: print “<” if A is less than B
print “>” if A is greater than B
print “=” if A and B are equal


Task 2Compare two numbersIn this problem, you need to compare two numbers: A and BInput: an integerOutput:

Слайд 11Find three errors in the following code:

1)x=input(“Enter a number:”)
if

x=3
print(“You entered 3”)

2) temp=int input(temperature?)
if temp <=-30
print (Stay home)
Else:
print (“You have lessons”)
Find three errors in the following code:1)x=input(“Enter a number:”)  if x=3    print(“You entered

Слайд 12https://quizizz.com/admin/quiz/5c753952e4750a001b6ab9fa/startV4

https://quizizz.com/admin/quiz/5c753952e4750a001b6ab9fa/startV4

Слайд 13I can write code If/Elif/else statements
I understood everything
I have a question
True
False


I can write code If/Elif/else statementsI understood everythingI have a questionTrueFalse

Слайд 14If 5 is less than 8

If 6 is greater than 4

If

6 is greater or equal to 5

If 5 is equal to 5

If 5 is not equal to 6

If 9 is less or equal to 10
If 5 is less than 8If 6 is greater than 4If 6 is greater or equal to

Что такое shareslide.ru?

Это сайт презентаций, где можно хранить и обмениваться своими презентациями, докладами, проектами, шаблонами в формате PowerPoint с другими пользователями. Мы помогаем школьникам, студентам, учителям, преподавателям хранить и обмениваться учебными материалами.


Для правообладателей

Яндекс.Метрика

Обратная связь

Email: Нажмите что бы посмотреть