Advertisement
Guest User

Untitled

a guest
Feb 17th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import sys
  2.  
  3. #create these cutsom values in manychat
  4. result1plus3 =0
  5. TrueOrFalse = 0
  6.  
  7.  
  8. #many chat flow
  9. while TrueOrFalse == 0:
  10.  
  11. #user input
  12. num1 = input("input 1st number : ")
  13. num2 = input("input 2nd number : ")
  14. #working
  15. result1plus3 += int(num1) + int(num2)
  16. #check if condition is met
  17. if result1plus3 > 100:
  18. flag=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement