摘要:
binary_num = '10000001' ones_complement = '' for bit in binary_num: ones_complement += '0' if bit == '1' else '1' print(ones_complement) #加上1 binary_n 阅读全文
posted @ 2024-05-12 22:20
®Geovin Du Dream Park™
阅读(5)评论(0)推荐(0)
编辑
摘要:
// geovindu /* (c) 2011-2015, Vladimir Agafonkin SunCalc is a JavaScript library for calculating sun/moon position and light phases. https://github.co 阅读全文
posted @ 2024-05-10 16:31
®Geovin Du Dream Park™
阅读(49)评论(0)推荐(0)
编辑
摘要:
using Microsoft.SemanticKernel.ImageToText; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.OpenAI; using Microsoft.Semantic 阅读全文
posted @ 2024-04-10 14:31
®Geovin Du Dream Park™
阅读(13)评论(0)推荐(0)
编辑
摘要:
//元组Tuples var person = ("Geovin Du", 30, "Soft Developer"); Console.WriteLine(person.Item1); Tuple<string, int, string> persons = new Tuple<string, i 阅读全文
posted @ 2024-04-07 11:31
®Geovin Du Dream Park™
阅读(26)评论(0)推荐(0)
编辑