Python 3.13.0 (tags/v3.13.0:60403a5, Oct 7 2024, 09:38:07) [MSC v.1941 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. DreamPie 1.2.1 >>> import random >>> random.random() 0: 0.4958199906311006 >>> random.random() 1: 0.6811814472324907 >>> random.random() 2: 0.32598710905572803 >>> random.random() 3: 0.0035669471585946244 >>> random.random() 4: 0.414616715128332 >>> random.randint(-30, 30) 5: -24 >>> random.randint(-30, 30) 6: 7 >>> random.randint(-30, 30) 7: 10 >>> random.randint(-30, 30) 8: 13 >>> předpis = 'F-F-F-F' >>> předpis 9: 'F-F-F-F' >>> type(předpis) 10: <class 'str'> >>> for znak in předpis: ... print(znak) F - F - F - F >>> xs = 'ABC' >>> xs 11: 'ABC' >>> len(xs) 12: 3 >>> xs = xs + '123' >>> xs 13: 'ABC123' >>> xs = xs + '123' >>> xs 14: 'ABC123123' >>> xs += 'abc' >>> xs 15: 'ABC123123abc' >>>