4educa+ion

Top Links Menu

  • Google scholar
  • ReseachGate
  • WoS
  • YouTube
  • GrabCAD
  • Orcid
  • Scopus
  • Github
  • Phone
  • Email
  • QQ
  • Experiences
  • Heritage

Jun 5, 2023

Python #6 (Boolean, Return)

--

name_list = ['4e+','mz','4education' ]
name = '4e+'
print(name == "mz")
print (name_list == 'mz')
print('mz' in name_list)
a = 'mz' in name_list
print(type(a))

>>

False False True <class 'bool'>


By 4educa+ion
Newer Post Older Post Home

SEARCH

Archive

  • Additive Manufacture
  • Aerospace
  • Ansys
  • Autocad Plant3D
  • Bioengineering
  • Blogger
  • Book
  • Database
  • Education
  • Engineering
  • Equation
  • FEM
  • Fluent
  • Information
  • Journal
  • Konstruksi/Construction
  • Linux
  • Luratul Arabic
  • Manufacture
  • Materials
  • MySQL
  • Networking
  • PHP
  • Piping and Instrument
  • Problem & Solution
  • Python
  • Reverse Engineering
  • Security
  • Server
  • Software
  • SolidWorks
  • Standarization
  • Tender
  • Tips & Trick
  • Turbine
  • Website
  • Windows Server
  • Word/Excel

4educa+ion. Powered by Blogger.