self learn python journey
This commit is contained in:
commit
87bb71ad3c
|
@ -0,0 +1,35 @@
|
|||
#written by Pardesicat
|
||||
|
||||
import os
|
||||
import sys
|
||||
import platform
|
||||
import time
|
||||
|
||||
name = input("Enter your name:")
|
||||
print (f"Namaste : {name}")
|
||||
|
||||
time.sleep(3)
|
||||
|
||||
system = platform.system()
|
||||
|
||||
|
||||
if system == "Windows":
|
||||
print(f"{name} You are using Windows.")
|
||||
elif system == "Linux":
|
||||
print(f"{name} You are using Linux.")
|
||||
elif system == "Darwin":
|
||||
print(f"{name} You are using macOS.")
|
||||
else:
|
||||
print(f"Sorry cant detect your system.")
|
||||
|
||||
time.sleep(2)
|
||||
|
||||
|
||||
|
||||
platform = platform.architecture()
|
||||
|
||||
print (f"{name} Your Using {platform} Architect of Cpu" )
|
||||
|
||||
time.sleep(2)
|
||||
|
||||
sys.exit
|
|
@ -0,0 +1,5 @@
|
|||
[tool.poetry]
|
||||
name = "Pardesicat Practice set"
|
||||
version = "0"
|
||||
description = "Self made Practice set to learn python"
|
||||
authors = ["Pardesi_caat <contact@pardesicat.xyz>"]
|
Loading…
Reference in New Issue