zoukankan      html  css  js  c++  java
  • 使用sublimehighlight 将文本 转化html

     

    a = "aaa"
    
    b = "bbb"
    c = "ccc"
    
    final = a + b + c 
    
    print final
    
    import sys
    print(sys.version)
    print("hello world ~")
    
    import os
    print(os.defpath)
    
    name = """sdfsdfsdf
            hello
        python
    """
    print(name)
    
    print("10//3 = ",10 // 3)
    print("5**3 = ",5 ** 3)
    print("5%3 = ",5 % 3)
    print("14/3 = ",14 / 3)
    print("=%s" % 12)
    
    charA = 65
    charB = 66
    
    print("ASCII码65代表:%c" % charA)
    print("ASCII码66代表:%c" % charB)
    Num1 = 0xEF3
    Num2 = 0xAB03
    print('转换成十进制分别为:%u%u' % (Num1, Num2))
    Num3 = 1200000
    print('转换成科学计数法为:%e' % Num3)
    
    quote=""Always remember you are unique"
    multi_line_quote=''' just 
            like everyone else'''
    new_string=quote+multi_line_quote
    
    print("%s%s%s" % ('i like ',quote,multi_line_quote))
    
    
    grocery_list=["a","b","c","d","e"]
    other_events=['car','phone','bed','cat','pig','dog']
    print("the first one is %s" % grocery_list[0])
    print(other_events[3:6])
    
    to_do_list=[grocery_list,other_events]
    
    print(to_do_list)
    
    print(to_do_list[0:1][1:4])
    print(to_do_list[1:3])
    
    print(to_do_list[0][0])
    print(to_do_list[0][1])
    print(to_do_list[0][2])
    
    print(to_do_list[1][0])
    print(to_do_list[1][1])
    print(to_do_list[1][2])
    
  • 相关阅读:
    『CEO日报』-商业版的今日头条,《财富》(中文版)出品 on the App Store
    Hosted Web Scraper Online
    名巢靓家_百度百科
    服装消费3.0时代的试验者: Pretty Yes 通过穿搭问答解决中产女性的时尚衣着问题
    好市多_百度百科
    新闻:融资600万 他用一套系统优化15大HR工作场景 精简入转调离 月开通214家 | IT桔子
    眨眼网杨莹,能写代码能玩时尚的美女CEO-搜狐
    新闻:全球独立设计师平台眨眼网推出男装系列 | IT桔子
    漏洞盒子 | 互联网安全测试平台
    浙江设立200亿元省产业基金·杭州日报
  • 原文地址:https://www.cnblogs.com/luquanmingren/p/5337606.html
Copyright © 2011-2022 走看看