標題:
變數宣告與基本輸出 (一)
[打印本頁]
作者:
陳品肇
時間:
2020-2-1 09:09
標題:
變數宣告與基本輸出 (一)
[attach]8336[/attach]
a=123
b=456
print(a,"python",b)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!\n")
print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
作者:
張鈞堯
時間:
2020-2-1 10:58
#12345
"123456"
"""
123456
"""
a=123
b=456
c="★"
print(a,"HI",b,sep="★",end="?\n")
print(str(a)+"abc"+str(b)+c)
print(1,2,3,4,5,6,7,8,9,10,sep="+",end="=55")
複製代碼
作者:
李穎俊
時間:
2020-2-1 10:58
x=123
y=456
print(x,"python",y)
print(x,"python",y,sep="~")
print(x,"python",y,sep="~",end="!!!\n")
print(str(x)+"~python~"+str(y)+"!!!")
複製代碼
作者:
陳頡鴻
時間:
2020-2-1 10:58
a=123
b=456
print(a,"python",b)
print(a,"python",b)
print(a,"python",b,sep="~",end="!!!\n")
print(a,"python",b,sep="~",end="!!!\n")
複製代碼
作者:
曾柏忻
時間:
2020-2-1 10:58
a=123
b=456
print(a,"python",b,)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!\n")
print(a,"python",b,sep="~",end="!!!")
複製代碼
作者:
陳沛頤
時間:
2020-2-1 10:58
a=123
b=456
print(a,"python",b)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!\n")
print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
作者:
黃柏叡
時間:
2020-2-1 10:58
# -*- coding: utf-8 -*-
"""
Spyder Editor
This is a temporary script file.
"""
print("hello world")
a=120
b=69
print(a,"apple",b,)
print (a,"kenny",b,sep="-",end="$")
複製代碼
作者:
潘堉恩
時間:
2020-2-1 10:59
a=100
b=20
print(a,"python",b)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!\n")
print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
作者:
黃紹綸
時間:
2020-2-1 11:01
# -*- coding: utf-8 -*-
a=123
b=456
print(a,"python",b)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!\n")
print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
作者:
許雅棟
時間:
2020-2-1 11:02
# -*- coding: utf-8 -*-
a=123
b=456
print(a,"python",b)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!\n")
print(a,"python",b,sep="~",end="!!!")
複製代碼
作者:
傅品翰
時間:
2020-2-1 11:03
a=123
b=456
print(a,"python",b)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!\n")
print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
作者:
曾顗文
時間:
2020-2-1 11:03
a=123
b=456
print(a,"python",b)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!\n")
print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
作者:
黃紹恩
時間:
2020-2-1 11:04
a = 123
b = 456
c ="python"
print("helloWorld")
print(a,c,b)
print(a,c,b,sep='~')
print(a,c,b,sep='~',end="!!!\n")
複製代碼
作者:
黃柏叡
時間:
2020-2-1 11:04
# -*- coding: utf-8 -*-
"""
Spyder Editor
This is a temporary script file.
"""
print("hello world")
print(120,"apple",69)
a=120
b=69
print(a,"apple",b,)
print(a,"apple",b,sep="=")
print (a,"kenny",b,sep="-",end="$")
複製代碼
作者:
林依玟
時間:
2020-2-1 11:05
print("100"+"200")
print(100,"python",200,sep="~",end="...\n")
複製代碼
作者:
傅英哲
時間:
2020-2-1 11:06
a=123
b=456
print(a,"python",b)
print(a,"python",b,sep="~")
print(a,"python",b,sep="~",end="!!!\n")
print(str(a)+"~python~"+str(b)+"!!!")
複製代碼
作者:
林奇陞
時間:
2020-2-1 11:30
print(100<"python",60)
print(str(100)+"python"+str(60))
print(100,"python",sep="&")
print(100,60,sep="&",end="")
複製代碼
作者:
許雅棟
時間:
2020-2-1 11:50
# -*- coding: utf-8 -*-
age=12
name="Adam"
print("我叫"+name,"今年"+str(age)+"歲")
複製代碼
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://istak.org.tw/seed/)
Powered by Discuz! 7.2